summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-21 20:15:55 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit96a47877104d99e117b9fd97e43908f9e9567ec5 (patch)
tree2d7bec001304967a69796fd3975024662ffca330 /src/settings_type.h
parentaa220b2375efecf831ead0794e6de7b621e3c7a2 (diff)
downloadopenttd-96a47877104d99e117b9fd97e43908f9e9567ec5.tar.xz
Codechange: Set ZoomLevel's base type to byte instead of using ZoomLevelByte
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 245905897..d164be431 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -107,8 +107,8 @@ struct GUISettings {
uint8 statusbar_pos; ///< position of statusbar, 0=left, 1=center, 2=right
uint8 window_snap_radius; ///< windows snap at each other if closer than this
uint8 window_soft_limit; ///< soft limit of maximum number of non-stickied non-vital windows (0 = no limit)
- ZoomLevelByte zoom_min; ///< minimum zoom out level
- ZoomLevelByte zoom_max; ///< maximum zoom out level
+ ZoomLevel zoom_min; ///< minimum zoom out level
+ ZoomLevel zoom_max; ///< maximum zoom out level
bool disable_unsuitable_building; ///< disable infrastructure building when no suitable vehicles are available
byte autosave; ///< how often should we do autosaves?
bool threaded_saves; ///< should we do threaded saves?