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-861f7616d084master
parent
c0d220e335
commit
df88fb565f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue