|
case GameMessage::MSG_QUEUE_UPGRADE: |
|
{ |
|
const UpgradeTemplate *upgradeT = TheUpgradeCenter->findUpgradeByKey( (NameKeyType)(msg->getArgument( 1 )->integer) ); |
|
if (!upgradeT) // sanity |
|
break; |
|
|
|
if (currentlySelectedGroup) |
|
currentlySelectedGroup->queueUpgrade( upgradeT ); |
|
|
|
break; |
|
|
|
} |
The first argument for GameMessage::MSG_QUEUE_UPGRADE is unused and can be cleaned up without retail compatibility.
GeneralsGameCode/Core/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp
Lines 1406 to 1417 in ed7e96f
The first argument for
GameMessage::MSG_QUEUE_UPGRADEis unused and can be cleaned up without retail compatibility.