mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
#793 U shortcut for creature stack stats window
This commit is contained in:
committed by
Andrii Danylchenko
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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user