mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
-CTD fix in Tixa in function FindBestPath in PathaAi.cpp
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@334 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-1
@@ -28,8 +28,11 @@ UINT8 InternalDoorTravelCost( SOLDIERTYPE * pSoldier, INT32 iGridNo, UINT8 ubMov
|
||||
|
||||
INT16 RecalculatePathCost( SOLDIERTYPE *pSoldier, UINT16 usMovementMode );
|
||||
|
||||
// Lesh: setup max length of path
|
||||
#define MAX_PATH_DATA_LENGTH 512
|
||||
|
||||
// Exporting these global variables
|
||||
extern UINT32 guiPathingData[256];
|
||||
extern UINT32 guiPathingData[MAX_PATH_DATA_LENGTH];
|
||||
extern UINT8 gubNPCAPBudget;
|
||||
extern UINT16 gusNPCMovementMode;
|
||||
extern UINT8 gubNPCDistLimit;
|
||||
|
||||
Reference in New Issue
Block a user