File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -587,7 +587,9 @@ class ChinookCombatDropState : public State
587587 Object* rappeller = getPotentialRappeller (obj);
588588 if (rappeller != NULL )
589589 {
590+ #if !RETAIL_COMPATIBLE_CRC
590591 rappeller->setStatus (MAKE_OBJECT_STATUS_MASK (OBJECT_STATUS_IS_USING_ABILITY));
592+ #endif
591593
592594 ExitInterface *exitInterface = obj->getObjectExitInterface ();
593595 ExitDoorType exitDoor = exitInterface ? exitInterface->reserveDoorForExit (rappeller->getTemplate (), rappeller) : DOOR_NONE_AVAILABLE;
@@ -600,7 +602,9 @@ class ChinookCombatDropState : public State
600602 DEBUG_CRASH ((" rappeller is not free to exit... what?" ));
601603 }
602604
605+ #if !RETAIL_COMPATIBLE_CRC
603606 rappeller->clearStatus (MAKE_OBJECT_STATUS_MASK (OBJECT_STATUS_IS_USING_ABILITY));
607+ #endif
604608 rappeller->setTransformMatrix (&it->dropStartMtx );
605609
606610 AIUpdateInterface* rappellerAI = rappeller ? rappeller->getAIUpdateInterface () : NULL ;
Original file line number Diff line number Diff line change @@ -588,7 +588,9 @@ class ChinookCombatDropState : public State
588588 Object* rappeller = getPotentialRappeller (obj);
589589 if (rappeller != NULL )
590590 {
591+ #if !RETAIL_COMPATIBLE_CRC
591592 rappeller->setStatus (MAKE_OBJECT_STATUS_MASK (OBJECT_STATUS_IS_USING_ABILITY));
593+ #endif
592594
593595 ExitInterface *exitInterface = obj->getObjectExitInterface ();
594596 ExitDoorType exitDoor = exitInterface ? exitInterface->reserveDoorForExit (rappeller->getTemplate (), rappeller) : DOOR_NONE_AVAILABLE;
@@ -601,7 +603,9 @@ class ChinookCombatDropState : public State
601603 DEBUG_CRASH ((" rappeller is not free to exit... what?" ));
602604 }
603605
606+ #if !RETAIL_COMPATIBLE_CRC
604607 rappeller->clearStatus (MAKE_OBJECT_STATUS_MASK (OBJECT_STATUS_IS_USING_ABILITY));
608+ #endif
605609 rappeller->setTransformMatrix (&it->dropStartMtx );
606610
607611 AIUpdateInterface* rappellerAI = rappeller ? rappeller->getAIUpdateInterface () : NULL ;
You can’t perform that action at this time.
0 commit comments