- Duke: Ensure we backup player angles and not just pos when loading a save.

This commit is contained in:
Mitchell Richters 2023-04-02 19:19:26 +10:00
parent bcbebc5c1a
commit 0052ae4172

View file

@ -244,7 +244,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
.EndObject();
w.invdisptime = 0;
w.GetActor()->backuppos();
w.GetActor()->backuploc();
w.opyoff = w.pyoff;
w.backupweapon();
w.sync.actions &= SB_CENTERVIEW|SB_CROUCH; // these are the only bits we need to preserve.