mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
heroWindow is now show/hideable ;]
This commit is contained in:
@ -1569,6 +1569,8 @@ void CPlayerInterface::tileHidden(int3 pos)
|
||||
}
|
||||
void CPlayerInterface::openHeroWindow(const CGHeroInstance *hero)
|
||||
{
|
||||
adventureInt->heroWindow.setHero(hero);
|
||||
adventureInt->heroWindow.show();
|
||||
adventureInt->heroWindow->setHero(hero);
|
||||
this->objsToBlit.push_back(adventureInt->heroWindow);
|
||||
adventureInt->heroWindow->activate();
|
||||
adventureInt->hide();
|
||||
}
|
Reference in New Issue
Block a user