diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-22 19:00:43 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-27 18:49:43 +0200 |
commit | d8125fa46e090f25f3fffbc0202bb971b914a3b4 (patch) | |
tree | 72a0c9e144fbcda3966cb36341fab10f8c31e2ad /src/table/currency_settings.ini | |
parent | 91b3d697c506473deb47d70a31de5d5a7a063483 (diff) | |
download | openttd-d8125fa46e090f25f3fffbc0202bb971b914a3b4.tar.xz |
Codechange: make sub classes of SettingDesc for the different types of settings
Diffstat (limited to 'src/table/currency_settings.ini')
-rw-r--r-- | src/table/currency_settings.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/currency_settings.ini b/src/table/currency_settings.ini index 613f9bfa5..76eecc104 100644 --- a/src/table/currency_settings.ini +++ b/src/table/currency_settings.ini @@ -10,7 +10,7 @@ static const SettingTable _currency_settings{ }; [templates] SDT_VAR = SDT_VAR ($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup), -SDT_SSTR = SDT_SSTR($base, $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup), +SDT_SSTR = SDT_SSTR($base, $var, $type, $flags, $guiflags, $def, $proc, $from, $to, $cat, $extra, $startup), [validation] SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for $base.$var exceeds storage size"); |