Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -5,7 +5,7 @@ static const SettingVariant _citymania_settings_table[] = {
|
||||
[templates]
|
||||
SDT_VAR = SDT_VAR(GameSettings, $var, $type, SettingFlags({$flags}), $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $str_cb, $help_cb, $val_cb, $def_cb, $range_cb, $from, $to, $cat, $extra, $startup),
|
||||
[validation]
|
||||
SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for GameSettings.$var exceeds storage size");
|
||||
SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for citymania::Settings.$var exceeds storage size");
|
||||
|
||||
[defaults]
|
||||
flags = SettingFlag::CityMania
|
||||
|
||||
Reference in New Issue
Block a user