Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11021,6 +11021,10 @@ Path *Pathfinder::findAttackPath( const Object *obj, const LocomotorSet& locomot
Path *path = buildActualPath( obj, locomotorSet.getValidSurfaces(), obj->getPosition(), parentCell, centerInCell, false);
#if RETAIL_COMPATIBLE_PATHFINDING
if (!s_useFixedPathfinding) {
#if RTS_GENERALS
parentCell->releaseInfo();
#endif

if (goalCell->hasInfo() && !goalCell->getClosed() && !goalCell->getOpen()) {
goalCell->releaseInfo();
}
Expand Down
Loading