Laserlicht 2 лет назад
Родитель
Сommit
dd0033296f
2 измененных файлов с 9 добавлено и 1 удалено
  1. 1 1
      client/windows/GUIClasses.cpp
  2. 8 0
      docs/players/Game_Mechanics.md

+ 1 - 1
client/windows/GUIClasses.cpp

@@ -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);

+ 8 - 0
docs/players/Game_Mechanics.md

@@ -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.