- missed one bit of old savegame

This commit is contained in:
Christoph Oelckers 2021-11-19 13:30:22 +01:00
parent 47e207f158
commit fe83487c77

View file

@ -497,11 +497,6 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYERstruct& w, P
("RevolveDeltaAng", w.RevolveDeltaAng) ("RevolveDeltaAng", w.RevolveDeltaAng)
("RevolveAng", w.RevolveAng) ("RevolveAng", w.RevolveAng)
("PlayerSprite", w.actor) ("PlayerSprite", w.actor)
#ifdef OLD_SAVEGAME
; // need to write out UnderSpriteP so that older revisions still load it.
if (arc.isWriting()) arc("UnderSpriteP", w.PlayerUnderActor);
arc
#endif
("PlayerUnderSprite", w.PlayerUnderActor) ("PlayerUnderSprite", w.PlayerUnderActor)
("pnum", w.pnum) ("pnum", w.pnum)
("LadderSector", w.LadderSector) ("LadderSector", w.LadderSector)