Replace SF_ENABLE_TABLE_PATS flag and SC_PATCH with SF_PATCH

This commit is contained in:
Jonathan G Rennison
2023-11-18 14:52:30 +00:00
parent 35d1955db0
commit ccfdf626ad
10 changed files with 253 additions and 397 deletions

View File

@@ -1385,7 +1385,7 @@ bool SettingEntry::IsVisibleByRestrictionMode(RestrictionMode mode) const
if (mode == RM_BASIC) return (this->setting->cat & SC_BASIC_LIST) != 0;
if (mode == RM_ADVANCED) return (this->setting->cat & SC_ADVANCED_LIST) != 0;
if (mode == RM_PATCH) return (this->setting->cat & SC_PATCH_LIST) != 0;
if (mode == RM_PATCH) return (this->setting->flags & SF_PATCH) != 0;
/* Read the current value. */
const void *object = ResolveObject(&GetGameSettings(), sd);