From 4b42f99ca75c3427da5149132a5d77f204f5c9a7 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 29 Nov 2021 19:41:11 +0000 Subject: [PATCH] Fix player removal not being recorded in netreplays. (Will not work with existing replays that lack this data) --- src/d_clisrv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 5b4141328..1bb3675cf 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -2390,6 +2390,7 @@ void CL_RemovePlayer(INT32 playernum, kickreason_t reason) // remove avatar of player playeringame[playernum] = false; + demo_extradata[playernum] |= DXD_PLAYSTATE; playernode[playernum] = UINT8_MAX; while (!playeringame[doomcom->numslots-1] && doomcom->numslots > 1) doomcom->numslots--;