Skip to content

Remove unused argument for GameMessage::MSG_QUEUE_UPGRADE #2762

@Caball009

Description

@Caball009

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions