summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r--src/client/cl_main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 3244bc7c..9be6f1c8 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -3800,13 +3800,7 @@ void CL_ServerInfoPacket( netadr_t from, msg_t *msg ) {
// if this isn't the correct gamename, ignore it
gamename = Info_ValueForKey( infoString, "gamename" );
-#ifdef LEGACY_PROTOCOL
- // gamename is optional for legacy protocol
- if (com_legacyprotocol->integer && !*gamename)
- gameMismatch = qfalse;
- else
-#endif
- gameMismatch = !*gamename || strcmp(gamename, com_gamename->string) != 0;
+ gameMismatch = !*gamename || strcmp(gamename, com_gamename->string) != 0;
if (gameMismatch)
{