mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Blood: Slight cleanup on 32480dde16
.
This commit is contained in:
parent
b05b409695
commit
4958241c57
1 changed files with 1 additions and 1 deletions
|
@ -2399,7 +2399,6 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, POSTURE& w, POSTUR
|
|||
|
||||
FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYER& w, PLAYER* def)
|
||||
{
|
||||
if (arc.isReading()) playerResetPosture(&w);
|
||||
if (arc.BeginObject(keyname))
|
||||
{
|
||||
arc("spritenum", w.actor)
|
||||
|
@ -2490,6 +2489,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYER& w, PLAYER*
|
|||
|
||||
if (arc.isReading())
|
||||
{
|
||||
playerResetPosture(&w);
|
||||
w.input.actions &= SB_CENTERVIEW|SB_CROUCH; // these are the only bits we need to preserve.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue