make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves
This commit is contained in:
parent
c06afff0a5
commit
e685e30d58
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user