1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix regressions

This commit is contained in:
Ivan Savenko
2023-04-17 23:16:45 +03:00
parent dd227d24c3
commit e8718a46cc
4 changed files with 42 additions and 79 deletions

View File

@@ -294,7 +294,7 @@ void CTownList::CTownItem::update()
void CTownList::CTownItem::select(bool on)
{
if (on && LOCPLINT->localState->getCurrentTown() != town)
LOCPLINT->localState->setSelection(town);
LOCPLINT->setSelection(town, true);
}
void CTownList::CTownItem::open()