From e3e87d7655cd5cf6d1a68b32ed9d244f341bff69 Mon Sep 17 00:00:00 2001
From: toaster <rollerorbital@gmail.com>
Date: Wed, 16 Oct 2019 17:39:38 +0100
Subject: [PATCH] Compile fix.

---
 src/d_netcmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/d_netcmd.c b/src/d_netcmd.c
index 52e2e3271..5aea32f8f 100644
--- a/src/d_netcmd.c
+++ b/src/d_netcmd.c
@@ -2062,7 +2062,7 @@ static void Got_Suicide(UINT8 **cp, INT32 playernum)
 	INT32 suicideplayer = READINT32(*cp);
 
 	// You can't suicide someone else.  Nice try, there.
-	if (respawnplayer != playernum || (!G_PlatformGametype()))
+	if (suicideplayer != playernum || (!G_PlatformGametype()))
 	{
 		CONS_Alert(CONS_WARNING, M_GetText("Illegal suicide command received from %s\n"), player_names[playernum]);
 		if (server)
-- 
GitLab