Skip to content
Merged
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
5 changes: 5 additions & 0 deletions Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,12 @@ Bool ActionManager::canResumeConstructionOf( const Object *obj,
// in the future)
//
Object *builder = TheGameLogic->findObjectByID( objectBeingConstructed->getBuilderID() );
#if RETAIL_COMPATIBLE_CRC
if( builder )
#else
// TheSuperHackers @bugfix Stubbjax 18/11/2025 Allow scaffold to be immediately resumed after builder death.
if (builder && !builder->isEffectivelyDead())
#endif
{
AIUpdateInterface *ai = builder->getAI();
DEBUG_ASSERTCRASH( ai, ("Builder object does not have an AI interface!") );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,12 @@ Bool ActionManager::canResumeConstructionOf( const Object *obj,
// in the future)
//
Object *builder = TheGameLogic->findObjectByID( objectBeingConstructed->getBuilderID() );
#if RETAIL_COMPATIBLE_CRC
if( builder )
#else
// TheSuperHackers @bugfix Stubbjax 18/11/2025 Allow scaffold to be immediately resumed after builder death.
if (builder && !builder->isEffectivelyDead())
#endif
{
AIUpdateInterface *ai = builder->getAI();
DEBUG_ASSERTCRASH( ai, ("Builder object does not have an AI interface!") );
Expand Down
Loading