Skip to content
Open
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 @@ -839,6 +839,8 @@ CBCommandStatus ControlBar::processCommandUI( GameWindow *control,
case GUI_COMMAND_SPECIAL_POWER_FROM_SHORTCUT:
{
const SpecialPowerTemplate *spTemplate = commandButton->getSpecialPowerTemplate();
if( !spTemplate )
break;
SpecialPowerType spType = spTemplate->getSpecialPowerType();

Object* obj = ThePlayerList->getLocalPlayer()->findMostReadyShortcutSpecialPowerOfType( spType );
Expand Down
Loading