diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 5b43c2213..c73ee04ec 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -1555,6 +1555,8 @@ static boolean SV_SendServerConfig(INT32 node) netbuffer->u.servercfg.playerskins[i] = (UINT8)players[i].skin; netbuffer->u.servercfg.playercolor[i] = (UINT8)players[i].skincolor; + + netbuffer->u.servercfg.playerisbot[i] = players[i].bot; } memcpy(netbuffer->u.servercfg.server_context, server_context, 8); @@ -4289,6 +4291,7 @@ static void HandlePacketFromAwayNode(SINT8 node) playeringame[j] = true; SetPlayerSkinByNum(j, (INT32)netbuffer->u.servercfg.playerskins[j]); players[j].skincolor = netbuffer->u.servercfg.playercolor[j]; + players[j].bot = netbuffer->u.servercfg.playerisbot[j]; } scp = netbuffer->u.servercfg.varlengthinputs; diff --git a/src/d_clisrv.h b/src/d_clisrv.h index 49945de7c..d39babd82 100644 --- a/src/d_clisrv.h +++ b/src/d_clisrv.h @@ -323,6 +323,8 @@ typedef struct UINT8 playerskins[MAXPLAYERS]; UINT8 playercolor[MAXPLAYERS]; + UINT8 playerisbot[MAXPLAYERS]; + UINT8 gametype; UINT8 modifiedgame; SINT8 adminplayers[MAXPLAYERS]; // Needs to be signed