mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Settings: Fix duplication of PLYX save field table
This commit is contained in:
parent
ec6d2b68de
commit
decfab153a
@ -3484,12 +3484,6 @@ void SaveSettingsPlyx()
|
||||
{
|
||||
SettingsExtSave current_setting;
|
||||
|
||||
static const SaveLoad _settings_plyx_desc[] = {
|
||||
SLE_VAR(SettingsExtSave, flags, SLE_UINT32),
|
||||
SLE_STR(SettingsExtSave, name, SLE_STR, 0),
|
||||
SLE_VAR(SettingsExtSave, setting_length, SLE_UINT32),
|
||||
};
|
||||
|
||||
std::vector<uint32> company_setting_counts;
|
||||
|
||||
size_t length = 8;
|
||||
@ -3538,7 +3532,7 @@ void SaveSettingsPlyx()
|
||||
current_setting.flags = 0;
|
||||
current_setting.name = sd->patx_name;
|
||||
current_setting.setting_length = setting_length;
|
||||
SlObject(¤t_setting, _settings_plyx_desc);
|
||||
SlObject(¤t_setting, _settings_ext_save_desc);
|
||||
SlObjectMember(&(c->settings), sd->save);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user