- Fixed: Wall scrolling interpolations incremented their reference count twice.
- Fixed: Before a level's thinkers are loaded all previous interpolations must be cleared. - Fixed: deleted interpolations didn't NULL the pointer in the interpolated object. Also added all interpolation pointers to DSectorMarker to ensure that they are properyl processed by the garbage collector. SVN r1028 (trunk)
This commit is contained in:
parent
4e7a6c54ef
commit
1eb91fddcd
6 changed files with 129 additions and 25 deletions
|
|
@ -75,6 +75,7 @@
|
|||
#include "sbarinfo.h"
|
||||
#include "r_translate.h"
|
||||
#include "p_lnspec.h"
|
||||
#include "r_interpolate.h"
|
||||
|
||||
#include "gi.h"
|
||||
|
||||
|
|
@ -2740,6 +2741,7 @@ void G_SerializeLevel (FArchive &arc, bool hubLoad)
|
|||
}
|
||||
|
||||
FBehavior::StaticSerializeModuleStates (arc);
|
||||
if (arc.IsLoading()) interpolator.ClearInterpolations();
|
||||
P_SerializeThinkers (arc, hubLoad);
|
||||
P_SerializeWorld (arc);
|
||||
P_SerializePolyobjs (arc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue