Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Generals/Code/GameEngine/Source/GameLogic/AI/AIStates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6275,6 +6275,12 @@ StateReturnType AIExitState::update()
if( goalExitInterface == nullptr )
return STATE_FAILURE;

#if !RETAIL_COMPATIBLE_CRC
// TheSuperHackers @bugfix Stubbjax 03/05/2026 Stop trying to exit if the container is dead, as we are already ejected.
if (goal->isEffectivelyDead())
return STATE_FAILURE;
#endif

if( goalExitInterface->isExitBusy() )
return STATE_CONTINUE;// Just wait a sec.

Expand Down
6 changes: 6 additions & 0 deletions GeneralsMD/Code/GameEngine/Source/GameLogic/AI/AIStates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6487,6 +6487,12 @@ StateReturnType AIExitState::update()
if( goalExitInterface == nullptr )
return STATE_FAILURE;

#if !RETAIL_COMPATIBLE_CRC
// TheSuperHackers @bugfix Stubbjax 03/05/2026 Stop trying to exit if the container is dead, as we are already ejected.
if (goal->isEffectivelyDead())
return STATE_FAILURE;
#endif

if( goalExitInterface->isExitBusy() )
return STATE_CONTINUE;// Just wait a sec.

Expand Down
Loading