summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-01 13:35:11 +0100
committerPatric Stout <github@truebrain.nl>2021-03-01 23:17:47 +0100
commita0c298a539d9a5ffed2c82b94c04b362c2763465 (patch)
tree93649e73d31f38aa17348ed5fa0de1db90ddeeeb /src
parentabac4b17588688d0b8241a303104c39ca92a87e8 (diff)
downloadopenttd-a0c298a539d9a5ffed2c82b94c04b362c2763465.tar.xz
Fix: three max-values for settings could exceed their storage size
Diffstat (limited to 'src')
-rw-r--r--src/table/settings.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 6dfb148b9..dd0ecfee5 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -435,7 +435,7 @@ type = SLE_UINT16
from = SLV_156
def = 4096
min = 0
-max = 1 << 30
+max = 1 << 15
interval = 1
cat = SC_EXPERT
@@ -457,7 +457,7 @@ type = SLE_UINT16
from = SLV_156
def = 4096
min = 0
-max = 1 << 30
+max = 1 << 15
interval = 1
cat = SC_EXPERT
@@ -479,7 +479,7 @@ type = SLE_UINT16
from = SLV_175
def = 4096
min = 0
-max = 1 << 30
+max = 1 << 15
interval = 1
cat = SC_EXPERT