mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Add skincolor vars to the NetSave
This commit is contained in:
parent
c70d5a9773
commit
9e6c0c31be
1 changed files with 12 additions and 0 deletions
|
@ -3990,6 +3990,12 @@ static void P_NetArchiveMisc(void)
|
|||
WRITEINT32(save_p, sstimer);
|
||||
WRITEUINT32(save_p, bluescore);
|
||||
WRITEUINT32(save_p, redscore);
|
||||
|
||||
WRITEUINT16(save_p, skincolor_redteam);
|
||||
WRITEUINT16(save_p, skincolor_blueteam);
|
||||
WRITEUINT16(save_p, skincolor_redring);
|
||||
WRITEUINT16(save_p, skincolor_bluering);
|
||||
|
||||
WRITEINT32(save_p, modulothing);
|
||||
|
||||
WRITEINT16(save_p, autobalance);
|
||||
|
@ -4074,6 +4080,12 @@ static inline boolean P_NetUnArchiveMisc(void)
|
|||
sstimer = READINT32(save_p);
|
||||
bluescore = READUINT32(save_p);
|
||||
redscore = READUINT32(save_p);
|
||||
|
||||
skincolor_redteam = READUINT16(save_p);
|
||||
skincolor_blueteam = READUINT16(save_p);
|
||||
skincolor_redring = READUINT16(save_p);
|
||||
skincolor_bluering = READUINT16(save_p);
|
||||
|
||||
modulothing = READINT32(save_p);
|
||||
|
||||
autobalance = READINT16(save_p);
|
||||
|
|
Loading…
Reference in a new issue