1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* small bugfix in dismissing hero (still needs better actualization of advmap lists)

* most buttons in battleInterface
This commit is contained in:
mateuszb
2008-03-01 11:49:25 +00:00
parent 17d5d298ca
commit 68d37e1507
3 changed files with 35 additions and 7 deletions

View File

@@ -639,8 +639,9 @@ void CHeroWindow::deactivate()
void CHeroWindow::dismissCurrent()
{
LOCPLINT->cb->dismissHero(curHero);
const CGHeroInstance * ch = curHero;
quit();
LOCPLINT->cb->dismissHero(ch);
}
void CHeroWindow::questlog()