1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-05 23:28:14 +02:00

- some fixes for Castle Gate and Hill Fort

- removed unavailable in Hill Fort upgrades from cr_upgrade_list.txt
- fixed bug in upgrading creatures
- workaround to make VCMI work with Russian language files (possibly fixed 289)
This commit is contained in:
Ivan Savenko
2010-07-26 23:20:21 +00:00
parent 221728c680
commit e025a43cb0
7 changed files with 52 additions and 46 deletions

View File

@@ -351,6 +351,8 @@ void CPlayerInterface::heroCreated(const CGHeroInstance * hero)
}
void CPlayerInterface::openTownWindow(const CGTownInstance * town)
{
if (castleInt)
GH.popIntTotally(castleInt);
castleInt = new CCastleInterface(town);
GH.pushInt(castleInt);
}