diff --git a/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp b/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp index 60d1add770b..1cefbe300e6 100644 --- a/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp +++ b/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp @@ -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(); }