- changed Polyobject thinkers to operate on the actual polyobjects instead of indices
This also changes the action special interface to pass a Level parameter to the separate functions and makes a few other minor adjustments to the polyobject code.
This commit is contained in:
parent
65750bd7bf
commit
9f8dd66189
15 changed files with 331 additions and 348 deletions
|
|
@ -1656,7 +1656,7 @@ void G_SnapshotLevel ()
|
|||
if (arc.OpenWriter(save_formatted))
|
||||
{
|
||||
SaveVersion = SAVEVER;
|
||||
G_SerializeLevel(arc, false);
|
||||
G_SerializeLevel(arc, &level, false);
|
||||
level.info->Snapshot = arc.GetCompressedOutput();
|
||||
}
|
||||
}
|
||||
|
|
@ -1683,7 +1683,7 @@ void G_UnSnapshotLevel (bool hubLoad)
|
|||
return;
|
||||
}
|
||||
|
||||
G_SerializeLevel (arc, hubLoad);
|
||||
G_SerializeLevel (arc, &level, hubLoad);
|
||||
level.FromSnapshot = true;
|
||||
|
||||
TThinkerIterator<AActor> it(NAME_PlayerPawn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue