Skip to content

Commit d0cee67

Browse files
committed
Added Zero Hour macros.
1 parent d706713 commit d0cee67

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Core/GameEngine/Include/GameLogic/AIPathfind.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ class Pathfinder : PathfindServicesInterface, public Snapshot
905905
Int m_queuePRTail;
906906
Int m_cumulativeCellsAllocated;
907907

908-
#if RETAIL_COMPATIBLE_CRC
908+
#if RTS_ZEROHOUR && RETAIL_COMPATIBLE_CRC
909909
public:
910910
Bool m_classifyFenceZeroInit;
911911
#endif

Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4021,7 +4021,7 @@ void Pathfinder::reset()
40214021
s_forceCleanCells = false;
40224022
#endif
40234023

4024-
#if RETAIL_COMPATIBLE_CRC
4024+
#if RTS_ZEROHOUR && RETAIL_COMPATIBLE_CRC
40254025
m_classifyFenceZeroInit = false;
40264026
#endif
40274027
}

GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,7 +2489,7 @@ void GameLogic::processDestroyList()
24892489
{
24902490
//USE_PERF_TIMER(processDestroyList)
24912491

2492-
#if RETAIL_COMPATIBLE_CRC
2492+
#if RTS_ZEROHOUR && RETAIL_COMPATIBLE_CRC
24932493
TheAI->pathfinder()->m_classifyFenceZeroInit = !m_objectsToDestroy.empty();
24942494
#endif
24952495

@@ -2552,7 +2552,7 @@ void GameLogic::processDestroyList()
25522552

25532553
Object::friend_deleteInstance(currentObject);//actual delete
25542554

2555-
#if RETAIL_COMPATIBLE_CRC
2555+
#if RTS_ZEROHOUR && RETAIL_COMPATIBLE_CRC
25562556
TheAI->pathfinder()->m_classifyFenceZeroInit = false;
25572557
#endif
25582558
}

0 commit comments

Comments
 (0)