- moved all EV_Light* functions and G_SerializeLevel into FLevelLocals

This commit is contained in:
Christoph Oelckers 2019-01-26 17:55:15 +01:00
commit e5139cc325
8 changed files with 353 additions and 355 deletions

View file

@ -1658,7 +1658,7 @@ void G_SnapshotLevel ()
if (arc.OpenWriter(save_formatted))
{
SaveVersion = SAVEVER;
G_SerializeLevel(arc, &level, false);
level.Serialize(arc, false);
level.info->Snapshot = arc.GetCompressedOutput();
}
}
@ -1685,7 +1685,7 @@ void G_UnSnapshotLevel (bool hubLoad)
return;
}
G_SerializeLevel (arc, &level, hubLoad);
level.Serialize (arc, hubLoad);
level.FromSnapshot = true;
TThinkerIterator<AActor> it(NAME_PlayerPawn);