diff options
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 1 | ||||
-rw-r--r-- | engines/sci/sci.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index c988a94c98..2895f4afb6 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -38,7 +38,6 @@ namespace Sci { #define POLY_LAST_POINT 0x7777 #define POLY_POINT_SIZE 4 //#define DEBUG_AVOIDPATH //enable for avoidpath debugging -#define OLD_PATHFINDING static void POLY_GET_POINT(const byte *p, int i, Common::Point &pt) { pt.x = (int16)READ_LE_UINT16((p) + (i) * POLY_POINT_SIZE); diff --git a/engines/sci/sci.h b/engines/sci/sci.h index c5f853cd17..8bfd1f9541 100644 --- a/engines/sci/sci.h +++ b/engines/sci/sci.h @@ -47,6 +47,8 @@ namespace Sci { //#define USE_OLDGFX // Uncomment this to use old music functions #define USE_OLD_MUSIC_FUNCTIONS +// Uncomment this to use old pathfinding code +#define OLD_PATHFINDING class Console; struct EngineState; |