mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-29 12:11:03 +00:00
- Don't serialise player angles twice.
This commit is contained in:
parent
72be2623c3
commit
9618ba1e78
4 changed files with 4 additions and 8 deletions
|
@ -2401,8 +2401,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYER& w, PLAYER*
|
|||
if (arc.BeginObject(keyname))
|
||||
{
|
||||
arc("spritenum", w.actor)
|
||||
("horizon", w.Angles)
|
||||
("angle", w.Angles)
|
||||
("angles", w.Angles)
|
||||
("newweapon", w.newWeapon)
|
||||
("used1", w.used1)
|
||||
("weaponqav", w.weaponQav)
|
||||
|
|
|
@ -78,8 +78,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, player_struct& w,
|
|||
{
|
||||
if (arc.BeginObject(keyname))
|
||||
{
|
||||
arc("angle", w.Angles)
|
||||
("horizon", w.Angles)
|
||||
arc("angles", w.Angles)
|
||||
.Array("gotweapon", w.gotweapon, MAX_WEAPONS)
|
||||
("pals", w.pals)
|
||||
("fricx", w.fric.X)
|
||||
|
|
|
@ -2116,8 +2116,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, Player& w, Player*
|
|||
("field3a", w.nState)
|
||||
("field3c", w.nLastWeapon)
|
||||
("seq", w.nSeq)
|
||||
("horizon", w.Angles)
|
||||
("angle", w.Angles)
|
||||
("angles", w.Angles)
|
||||
("lives", w.nLives)
|
||||
("double", w.nDouble)
|
||||
("invisible", w.nInvisible)
|
||||
|
|
|
@ -472,8 +472,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, PLAYER& w, PLAYER*
|
|||
("camera_check_time_delay", w.camera_check_time_delay)
|
||||
("cursectnum", w.cursector)
|
||||
("lastcursectnum", w.lastcursector)
|
||||
("horizon", w.Angles)
|
||||
("angle", w.Angles)
|
||||
("angles", w.Angles)
|
||||
("recoil_amt", w.recoil_amt)
|
||||
("recoil_speed", w.recoil_speed)
|
||||
("recoil_ndx", w.recoil_ndx)
|
||||
|
|
Loading…
Reference in a new issue