(svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed

This commit is contained in:
yexo
2010-01-29 21:06:35 +00:00
parent b0349704b0
commit dc714960e3
2 changed files with 11 additions and 1 deletions

View File

@@ -1784,7 +1784,7 @@ static void LoadSettings(const SettingDesc *osd, void *object)
void *ptr = GetVariableAddress(object, sld);
if (!SlObjectMember(ptr, sld)) continue;
Write_ValidateSetting(ptr, osd, ReadValue(ptr, sld->conv));
if (IsNumericType(sld->conv)) Write_ValidateSetting(ptr, osd, ReadValue(ptr, sld->conv));
}
}