mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Moved window stack management from GuiHandler to new class
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "../CPlayerInterface.h"
|
||||
#include "../PlayerLocalState.h"
|
||||
#include "../gui/CGuiHandler.h"
|
||||
#include "../gui/WindowHandler.h"
|
||||
|
||||
#include "../../CCallback.h"
|
||||
#include "../../lib/CGeneralTextHandler.h"
|
||||
@@ -261,7 +262,7 @@ void CInfoBar::tick(uint32_t msPassed)
|
||||
{
|
||||
timerCounter = 0;
|
||||
removeUsedEvents(TIME);
|
||||
if(GH.topInt() == adventureInt)
|
||||
if(GH.windows().topInt() == adventureInt)
|
||||
popComponents(true);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user