From 1d8b33833e829064edefc40efb04879f2be20329 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 17 Apr 2023 20:58:44 +0100 Subject: [PATCH] Fix TESTERS build creation by not including GotOurIP, which is never called in those --- src/d_clisrv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 24e8a5166..72c2cbdc7 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -4137,6 +4137,7 @@ void CL_RemoveSplitscreenPlayer(UINT8 p) SendKick(p, KICK_MSG_PLAYER_QUIT); } +#ifndef TESTERS static void GotOurIP(UINT32 address) { const unsigned char * p = (const unsigned char *)&address; @@ -4145,6 +4146,7 @@ static void GotOurIP(UINT32 address) #endif ourIP = address; } +#endif // is there a game running boolean Playing(void)