1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix activation of in-game console in other windows

This commit is contained in:
Ivan Savenko 2023-07-04 19:00:35 +03:00
parent 900b1c1763
commit f914ec9d57

View File

@ -134,12 +134,15 @@ void AdventureMapInterface::activate()
}
void AdventureMapInterface::deactivate()
{
CIntObject::deactivate();
CCS->curh->set(Cursor::Map::POINTER);
}
void AdventureMapInterface::showAll(Canvas & to)
{
CIntObject::deactivate();
CCS->curh->set(Cursor::Map::POINTER);
if(LOCPLINT)
LOCPLINT->cingconsole->deactivate();
}
void AdventureMapInterface::showAll(Canvas & to)
{
CIntObject::showAll(to);
LOCPLINT->cingconsole->show(to);