From ced6cd4349fefb98e222d4d6387a45dbfb139f23 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sat, 18 Mar 2017 10:12:14 +0000 Subject: [PATCH] Why do we want to end Ian, anyways? Action Man is a good boy. #deepcut --- src/d_clisrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 8d5b91b38..492a8a645 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -1375,7 +1375,7 @@ static boolean SV_SendServerConfig(INT32 node) continue; netbuffer->u.servercfg.playerskins[i] = (UINT8)players[i].skin; netbuffer->u.servercfg.playercolor[i] = (UINT8)players[i].skincolor; - netbuffer->u.servercfg.playeravailabilities[i] = (UINT32)players[i].availabilities; + netbuffer->u.servercfg.playeravailabilities[i] = (UINT32)LONG(players[i].availabilities); } memcpy(netbuffer->u.servercfg.server_context, server_context, 8); @@ -3502,7 +3502,7 @@ static void HandlePacketFromAwayNode(SINT8 node) continue; // not in game playeringame[j] = true; - players[j].availabilities = netbuffer->u.servercfg.playeravailabilities[j]; + players[j].availabilities = (UINT32)LONG(netbuffer->u.servercfg.playeravailabilities[j]); SetPlayerSkinByNum(j, (INT32)netbuffer->u.servercfg.playerskins[j]); players[j].skincolor = netbuffer->u.servercfg.playercolor[j]; }