- moved all EV_Light* functions and G_SerializeLevel into FLevelLocals
This commit is contained in:
parent
fe06c49e34
commit
e5139cc325
8 changed files with 353 additions and 355 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue