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 @@ -360,7 +360,11 @@ class ChinookCombatDropState : public State
360360 for (std::list<ObjectID>::iterator oit = it->rappellerIDs .begin (); oit != it->rappellerIDs .end (); )
361361 {
362362 Object* rappeller = TheGameLogic->findObjectByID (*oit);
363+ #if RETAIL_COMPATIBLE_CRC
363364 if (rappeller == NULL || rappeller->isEffectivelyDead () || !rappeller->isAboveTerrain ())
365+ #else
366+ if (rappeller == NULL || rappeller->isEffectivelyDead () || !rappeller->isAboveTerrain () || rappeller->isContained ())
367+ #endif
364368 {
365369 oit = it->rappellerIDs .erase (oit);
366370 }
Original file line number Diff line number Diff line change @@ -361,7 +361,11 @@ class ChinookCombatDropState : public State
361361 for (std::list<ObjectID>::iterator oit = it->rappellerIDs .begin (); oit != it->rappellerIDs .end (); )
362362 {
363363 Object* rappeller = TheGameLogic->findObjectByID (*oit);
364+ #if RETAIL_COMPATIBLE_CRC
364365 if (rappeller == NULL || rappeller->isEffectivelyDead () || !rappeller->isAboveTerrain ())
366+ #else
367+ if (rappeller == NULL || rappeller->isEffectivelyDead () || !rappeller->isAboveTerrain () || rappeller->isContained ())
368+ #endif
365369 {
366370 oit = it->rappellerIDs .erase (oit);
367371 }
You can’t perform that action at this time.
0 commit comments