mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-24 04:34:16 +01:00
Codechange: Use EnumBitSet for SettingFlags. (#13429)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
const SettingDesc *sd = GetSettingFromName(setting);
|
||||
assert(sd != nullptr);
|
||||
|
||||
if ((sd->flags & SF_NO_NETWORK_SYNC) != 0) return false;
|
||||
if ((sd->flags.Test(SettingFlag::NoNetworkSync))) return false;
|
||||
|
||||
value = Clamp<SQInteger>(value, INT32_MIN, INT32_MAX);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user