1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Fix positioning of console log overlay

This commit is contained in:
Ivan Savenko
2023-05-13 18:00:14 +03:00
parent 5e90d40e8b
commit 64cc246358
3 changed files with 7 additions and 1 deletions

View File

@ -69,7 +69,12 @@ BattleFieldController::BattleFieldController(BattleInterface & owner):
updateAccessibleHexes();
addUsedEvents(LCLICK | RCLICK | MOVE);
}
void BattleFieldController::activate()
{
LOCPLINT->cingconsole->pos = this->pos;
CIntObject::activate();
}
void BattleFieldController::createHeroes()