Disable some very CPU intensive debug code even in debug mode because it made

path-finding too slow for comfort.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3453 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2008-01-13 17:27:26 +00:00
parent c0d220e335
commit df88fb565f
1 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@
#include "fpath.h"
/* Beware: Enabling this will cause significant slow-down. */
#undef DEBUG_MAP
/* minimum height difference for VTOL blocking tile */
#define LIFT_BLOCK_HEIGHT_LIGHTBODY 30
#define LIFT_BLOCK_HEIGHT_MEDIUMBODY 350
@ -1172,7 +1175,7 @@ exit:
/* reset global pointer for object being routed */
fpathSetCurrentObject( NULL );
#ifdef DEBUG
#ifdef DEBUG_MAP
{
MAPTILE *psTile;