mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- Duke: must serialize SB_CENTERVIEW (but no other bits.)
This commit is contained in:
parent
f4fff5ee30
commit
a6c45a8e52
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
|
|||
("moto_on_mud", w.moto_on_mud)
|
||||
// new stuff
|
||||
("crouch_toggle", w.crouch_toggle)
|
||||
("actions", w.sync.actions)
|
||||
.EndObject();
|
||||
|
||||
w.invdisptime = 0;
|
||||
|
@ -298,6 +299,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
|
|||
w.ohard_landing = w.hard_landing;
|
||||
w.horizAdjust = 0;
|
||||
w.angAdjust = 0;
|
||||
w.sync.actions &= SB_CENTERVIEW; // this is the only bit we need to preserve.
|
||||
}
|
||||
return arc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue