mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- savegame compatibility.
This commit is contained in:
parent
02671dbe2f
commit
48b1ce0c62
1 changed files with 5 additions and 0 deletions
|
@ -500,6 +500,11 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYERstruct& w, P
|
|||
("RevolveDeltaAng", w.RevolveDeltaAng)
|
||||
("RevolveAng", w.RevolveAng)
|
||||
("PlayerSprite", w.PlayerSprite)
|
||||
#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)
|
||||
("SpriteP", w.SpriteP)
|
||||
("pnum", w.pnum)
|
||||
|
|
Loading…
Reference in a new issue