mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-20 09:11:01 +00:00
Always synchronize botleader
This commit is contained in:
parent
56f1d53a0b
commit
59eee5976e
1 changed files with 2 additions and 4 deletions
|
@ -453,8 +453,7 @@ static void P_NetArchivePlayers(save_t *save_p)
|
|||
// Bots //
|
||||
//////////
|
||||
P_WriteUINT8(save_p, players[i].bot);
|
||||
if (players[i].bot)
|
||||
P_WriteUINT32(save_p, SavePlayer(players[i].botleader));
|
||||
P_WriteUINT32(save_p, SavePlayer(players[i].botleader));
|
||||
P_WriteUINT8(save_p, players[i].botmem.lastForward);
|
||||
P_WriteUINT8(save_p, players[i].botmem.lastBlocked);
|
||||
P_WriteUINT8(save_p, players[i].botmem.catchup_tics);
|
||||
|
@ -686,8 +685,7 @@ static void P_NetUnArchivePlayers(save_t *save_p)
|
|||
// Bots //
|
||||
//////////
|
||||
players[i].bot = P_ReadUINT8(save_p);
|
||||
if (players[i].bot)
|
||||
players[i].botleader = LoadPlayer(P_ReadUINT32(save_p));
|
||||
players[i].botleader = LoadPlayer(P_ReadUINT32(save_p));
|
||||
|
||||
players[i].botmem.lastForward = P_ReadUINT8(save_p);
|
||||
players[i].botmem.lastBlocked = P_ReadUINT8(save_p);
|
||||
|
|
Loading…
Reference in a new issue