- added the last missing bits of the savegame code - thinker list deserialization and handling of players during hub travel. Now testing is what remains...

This commit is contained in:
Christoph Oelckers 2016-09-23 17:49:33 +02:00
commit 01d28e3eb2
6 changed files with 129 additions and 62 deletions

View file

@ -63,10 +63,6 @@
#include "r_renderer.h"
#include "serializer.h"
// just the stuff that already got converted to FSerializer so that it can be seen as 'done' when searching.
#include "zzz_old.cpp"
//
// Thinkers
//
@ -905,7 +901,7 @@ void G_SerializeLevel(FSerializer &arc, bool hubload)
{
P_DestroyThinkers(hubload);
interpolator.ClearInterpolations();
arc.ReadObjects();
arc.ReadObjects(hubload);
}
arc("level.flags", level.flags)