mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 10:11:02 +00:00
Un/archive viewrollangle in netsaves
This commit is contained in:
parent
d63aa1031e
commit
7cf563eadd
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,7 @@ static void P_NetArchivePlayers(void)
|
||||||
|
|
||||||
WRITEANGLE(save_p, players[i].aiming);
|
WRITEANGLE(save_p, players[i].aiming);
|
||||||
WRITEANGLE(save_p, players[i].drawangle);
|
WRITEANGLE(save_p, players[i].drawangle);
|
||||||
|
WRITEANGLE(save_p, players[i].viewrollangle);
|
||||||
WRITEANGLE(save_p, players[i].awayviewaiming);
|
WRITEANGLE(save_p, players[i].awayviewaiming);
|
||||||
WRITEINT32(save_p, players[i].awayviewtics);
|
WRITEINT32(save_p, players[i].awayviewtics);
|
||||||
WRITEINT16(save_p, players[i].rings);
|
WRITEINT16(save_p, players[i].rings);
|
||||||
|
@ -325,6 +326,7 @@ static void P_NetUnArchivePlayers(void)
|
||||||
|
|
||||||
players[i].aiming = READANGLE(save_p);
|
players[i].aiming = READANGLE(save_p);
|
||||||
players[i].drawangle = READANGLE(save_p);
|
players[i].drawangle = READANGLE(save_p);
|
||||||
|
players[i].viewrollangle = READANGLE(save_p);
|
||||||
players[i].awayviewaiming = READANGLE(save_p);
|
players[i].awayviewaiming = READANGLE(save_p);
|
||||||
players[i].awayviewtics = READINT32(save_p);
|
players[i].awayviewtics = READINT32(save_p);
|
||||||
players[i].rings = READINT16(save_p);
|
players[i].rings = READINT16(save_p);
|
||||||
|
|
Loading…
Reference in a new issue