make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves

This commit is contained in:
jacob1 2012-12-18 13:33:29 -05:00
parent c06afff0a5
commit e685e30d58

View File

@ -171,6 +171,12 @@ void GameSave::Expand()
{ {
if(hasOriginalData && !expanded) if(hasOriginalData && !expanded)
{ {
waterEEnabled = 0;
legacyEnable = 0;
gravityEnable = 0;
paused = 0;
gravityMode = 0;
airMode = 0;
expanded = true; expanded = true;
read(&originalData[0], originalData.size()); read(&originalData[0], originalData.size());
} }