Skip to content

Commit b6ae398

Browse files
committed
[GEN] Replicate pathfinding fixes in generals
1 parent ce67199 commit b6ae398

File tree

2 files changed

+560
-56
lines changed

2 files changed

+560
-56
lines changed

Generals/Code/GameEngine/Include/GameLogic/AIPathfind.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ class PathfindCellInfo
207207
{
208208
friend class PathfindCell;
209209
public:
210+
#if RETAIL_COMPATIBLE_PATHFINDING
211+
static void forceCleanPathFindCellInfos(void);
212+
#endif
210213
static void allocateCellInfos(void);
211214
static void releaseCellInfos(void);
212215

@@ -691,6 +694,9 @@ class Pathfinder : PathfindServicesInterface, public Snapshot
691694
Path *getDebugPath( void );
692695
void setDebugPath( Path *debugpath );
693696

697+
#if RETAIL_COMPATIBLE_PATHFINDING
698+
void forceCleanCells(void);
699+
#endif
694700
void cleanOpenAndClosedLists(void);
695701

696702
// Adjusts the destination to a spot near dest that is not occupied by other units.

0 commit comments

Comments
 (0)