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
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,11 @@ void GameLogic::logicMessageDispatcher( GameMessage *msg, void *userData )
// get the unit production interface
ProductionUpdateInterface *pu = producer->getProductionUpdateInterface();
if( pu == NULL )
#if RETAIL_COMPATIBLE_CRC
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be necessary. Please test if it is.

return;
#else
break;
#endif

// cancel the production
pu->cancelUnitCreate( productionID );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,11 @@ void GameLogic::logicMessageDispatcher( GameMessage *msg, void *userData )
// get the unit production interface
ProductionUpdateInterface *pu = producer->getProductionUpdateInterface();
if( pu == NULL )
#if RETAIL_COMPATIBLE_CRC
return;
#else
break;
#endif

// cancel the production
pu->cancelUnitCreate( productionID );
Expand Down
Loading