From a36d159189ffea6ec2747b78c6ed93dca5e49ca0 Mon Sep 17 00:00:00 2001 From: Mauller <26652186+Mauller@users.noreply.github.com> Date: Thu, 19 Mar 2026 20:45:33 +0000 Subject: [PATCH] fix(pathfinder): Remove invalid retail compatible compilation conditional --- Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp b/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp index 0da5bc24120..bf45005985c 100644 --- a/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp +++ b/Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp @@ -8694,7 +8694,7 @@ Path *Pathfinder::findClosestPath( Object *obj, const LocomotorSet& locomotorSet PathfindCell *ignoreCell = getClippedCell(goalObj->getLayer(), goalObj->getPosition()); if ( (goalCell->getObstacleID()==ignoreCell->getObstacleID()) && (goalCell->getObstacleID() != INVALID_ID) ) { Object* newObstacle = TheGameLogic->findObjectByID(goalCell->getObstacleID()); -#if RTS_GENERALS && RETAIL_COMPATIBLE_PATHFINDING +#if RTS_GENERALS if (newObstacle != nullptr && newObstacle->isKindOf(KINDOF_AIRFIELD)) #else if (newObstacle != nullptr && newObstacle->isKindOf(KINDOF_FS_AIRFIELD))