1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Do not block map layer toggles in world view mode

This commit is contained in:
Ivan Savenko
2023-09-11 18:10:57 +03:00
parent a5e42755be
commit a09147a433
2 changed files with 28 additions and 14 deletions

View File

@@ -402,7 +402,7 @@ bool AdventureMapShortcuts::optionCanViewQuests()
bool AdventureMapShortcuts::optionCanToggleLevel()
{
return optionInMapView() && LOCPLINT->cb->getMapSize().z > 1;
return optionSidePanelActive() && LOCPLINT->cb->getMapSize().z > 1;
}
bool AdventureMapShortcuts::optionMapLevelSurface()