summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-01-15 22:05:03 +0000
committerTim Angus <tim@ngus.net>2013-01-15 22:05:03 +0000
commit7eb5f4397d5369e35740c67df664b46069e08ae2 (patch)
treedbcc847f51a1ef07badd1476163e16c8dc74985f /src/client/cl_main.c
parent4e1d3d188461d55aefffd374e094e43c4839e729 (diff)
Remove a bunch of LEGACY_PROTOCOL blocks
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)
{