1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00
This commit is contained in:
Laserlicht
2023-10-15 12:28:13 +02:00
committed by GitHub
parent 5ae646bd15
commit dd0033296f
2 changed files with 9 additions and 1 deletions

View File

@ -489,7 +489,7 @@ CTavernWindow::CTavernWindow(const CGObjectInstance * TavernObj, const std::func
recruit->addHoverText(CButton::NORMAL, boost::str(boost::format(CGI->generaltexth->tavernInfo[1]) % LOCPLINT->cb->howManyHeroes(false))); recruit->addHoverText(CButton::NORMAL, boost::str(boost::format(CGI->generaltexth->tavernInfo[1]) % LOCPLINT->cb->howManyHeroes(false)));
recruit->block(true); recruit->block(true);
} }
else if(dynamic_cast<const CGTownInstance *>(TavernObj) && dynamic_cast<const CGTownInstance *>(TavernObj)->visitingHero)) else if(dynamic_cast<const CGTownInstance *>(TavernObj) && dynamic_cast<const CGTownInstance *>(TavernObj)->visitingHero)
{ {
recruit->addHoverText(CButton::NORMAL, CGI->generaltexth->tavernInfo[2]); //Cannot recruit. You already have a Hero in this town. recruit->addHoverText(CButton::NORMAL, CGI->generaltexth->tavernInfo[2]); //Cannot recruit. You already have a Hero in this town.
recruit->block(true); recruit->block(true);

View File

@ -41,6 +41,14 @@ Some of H3 mechanics can't be straight considered as bug, but default VCMI behav
- [Alt] + [LCtrl] + LClick - move all units of selected stack to the city's garrison or to the met hero - [Alt] + [LCtrl] + LClick - move all units of selected stack to the city's garrison or to the met hero
- [Alt] + [LShift] + LClick - dismiss selected stack` - [Alt] + [LShift] + LClick - dismiss selected stack`
## Interface Shourtcuts
It's now possible to open Tavern (click on town icon), Townhall, Quick Recruitment and Marketplace (click on gold) from various places:
- Town screen (left bottom)
- Kingdom overview for each town
- Infobox (only if info box army management is enabled)
## Quick Recruitment ## Quick Recruitment
Mouse click on castle icon in the town screen open quick recruitment window, where we can purhase in fast way units. Mouse click on castle icon in the town screen open quick recruitment window, where we can purhase in fast way units.