Cap global map cell size (bug #6222)

This commit is contained in:
Alexei Dobrohotov 2023-07-13 14:06:49 +03:00
parent 89c18d85de
commit 39c84c84da
5 changed files with 8 additions and 8 deletions

View file

@ -18,7 +18,7 @@ namespace Settings
{
using WithIndex::WithIndex;
SettingValue<int> mGlobalMapCellSize{ mIndex, "Map", "global map cell size", makeMaxSanitizerInt(1) };
SettingValue<int> mGlobalMapCellSize{ mIndex, "Map", "global map cell size", makeClampSanitizerInt(1, 50) };
SettingValue<int> mLocalMapHudWidgetSize{ mIndex, "Map", "local map hud widget size", makeMaxSanitizerInt(1) };
SettingValue<bool> mLocalMapHudFogOfWar{ mIndex, "Map", "local map hud fog of war" };
SettingValue<int> mLocalMapResolution{ mIndex, "Map", "local map resolution", makeMaxSanitizerInt(1) };