mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke: Ensure we backup player angles and not just pos when loading a save.
This commit is contained in:
parent
bcbebc5c1a
commit
0052ae4172
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
|
||||||
.EndObject();
|
.EndObject();
|
||||||
|
|
||||||
w.invdisptime = 0;
|
w.invdisptime = 0;
|
||||||
w.GetActor()->backuppos();
|
w.GetActor()->backuploc();
|
||||||
w.opyoff = w.pyoff;
|
w.opyoff = w.pyoff;
|
||||||
w.backupweapon();
|
w.backupweapon();
|
||||||
w.sync.actions &= SB_CENTERVIEW|SB_CROUCH; // these are the only bits we need to preserve.
|
w.sync.actions &= SB_CENTERVIEW|SB_CROUCH; // these are the only bits we need to preserve.
|
||||||
|
|
Loading…
Reference in a new issue