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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user