mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-30 10:40: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)
|
("moto_on_mud", w.moto_on_mud)
|
||||||
// new stuff
|
// new stuff
|
||||||
("crouch_toggle", w.crouch_toggle)
|
("crouch_toggle", w.crouch_toggle)
|
||||||
|
("actions", w.sync.actions)
|
||||||
.EndObject();
|
.EndObject();
|
||||||
|
|
||||||
w.invdisptime = 0;
|
w.invdisptime = 0;
|
||||||
|
@ -298,6 +299,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
|
||||||
w.ohard_landing = w.hard_landing;
|
w.ohard_landing = w.hard_landing;
|
||||||
w.horizAdjust = 0;
|
w.horizAdjust = 0;
|
||||||
w.angAdjust = 0;
|
w.angAdjust = 0;
|
||||||
|
w.sync.actions &= SB_CENTERVIEW; // this is the only bit we need to preserve.
|
||||||
}
|
}
|
||||||
return arc;
|
return arc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue