mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
#793 U shortcut for creature stack stats window
This commit is contained in:
parent
d7650ce9c0
commit
23bbb69eb9
@ -324,6 +324,11 @@ CStackWindow::ButtonsSection::ButtonsSection(CStackWindow * owner, int yOffset)
|
||||
|
||||
upgradeBtn->addOverlay(std::make_shared<CAnimImage>("CPRSMALL", VLC->creh->objects[upgradeInfo.info.newID[buttonIndex]]->iconIndex));
|
||||
|
||||
if(buttonsToCreate == 1) // single upgrade avaialbe
|
||||
{
|
||||
upgradeBtn->assignedKeys.insert(SDLK_u);
|
||||
}
|
||||
|
||||
upgrade[buttonIndex] = upgradeBtn;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user