mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
* fixed crashbug on loading maps with events giving creatures
* added confirmation window when hero is dismissed * finished mage guild screen * fixed some crashbugs with hero window on adventure interface * fixed giving wrong war machines on start * added blacksmith functionality
This commit is contained in:
@ -957,6 +957,11 @@ void CAdvMapInt::fendTurn()
|
||||
|
||||
void CAdvMapInt::activate()
|
||||
{
|
||||
if(subInt == heroWindow)
|
||||
{
|
||||
heroWindow->activate();
|
||||
return;
|
||||
}
|
||||
LOCPLINT->curint = this;
|
||||
LOCPLINT->statusbar = &statusbar;
|
||||
kingOverview.activate();
|
||||
@ -978,6 +983,11 @@ void CAdvMapInt::activate()
|
||||
}
|
||||
void CAdvMapInt::deactivate()
|
||||
{
|
||||
if(subInt == heroWindow)
|
||||
{
|
||||
heroWindow->deactivate();
|
||||
return;
|
||||
}
|
||||
hide();
|
||||
}
|
||||
void CAdvMapInt::show(SDL_Surface *to)
|
||||
|
Reference in New Issue
Block a user