mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 09:12:22 +00:00
Add typing_timer and typing_duration to netsave
This commit is contained in:
parent
8f9d9d783b
commit
46e4d5c8ee
1 changed files with 6 additions and 0 deletions
|
|
@ -277,6 +277,9 @@ static void P_NetArchivePlayers(void)
|
|||
|
||||
WRITESINT8(save_p, players[i].glanceDir);
|
||||
|
||||
WRITEUINT8(save_p, players[i].typing_timer);
|
||||
WRITEUINT8(save_p, players[i].typing_duration);
|
||||
|
||||
// respawnvars_t
|
||||
WRITEUINT8(save_p, players[i].respawn.state);
|
||||
WRITEUINT32(save_p, K_GetWaypointHeapIndex(players[i].respawn.wp));
|
||||
|
|
@ -483,6 +486,9 @@ static void P_NetUnArchivePlayers(void)
|
|||
|
||||
players[i].glanceDir = READSINT8(save_p);
|
||||
|
||||
players[i].typing_timer = READUINT8(save_p);
|
||||
players[i].typing_duration = READUINT8(save_p);
|
||||
|
||||
// respawnvars_t
|
||||
players[i].respawn.state = READUINT8(save_p);
|
||||
players[i].respawn.wp = (waypoint_t *)(size_t)READUINT32(save_p);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue