From 71eda66cdc5d8b947680aa563686e614793c7994 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Mon, 30 Aug 2010 02:15:22 +0000 Subject: [PATCH] remove the defunct cls.mapstring git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@314 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/client.h | 1 - Quake/host_cmd.c | 9 --------- 2 files changed, 10 deletions(-) diff --git a/Quake/client.h b/Quake/client.h index da251c18..2440bb24 100644 --- a/Quake/client.h +++ b/Quake/client.h @@ -115,7 +115,6 @@ typedef struct cactive_t state; // personalization data sent to server - char mapstring[MAX_QPATH]; char spawnparms[MAX_MAPSTRING]; // to restart a level // demo loop control diff --git a/Quake/host_cmd.c b/Quake/host_cmd.c index 1579f847..8d411d90 100644 --- a/Quake/host_cmd.c +++ b/Quake/host_cmd.c @@ -827,15 +827,6 @@ void Host_Map_f (void) key_dest = key_game; // remove console or menu SCR_BeginLoadingPlaque (); -// mapstring isn't used anywhere! - cls.mapstring[0] = 0; - for (i = 0; i < Cmd_Argc(); i++) - { - strcat (cls.mapstring, Cmd_Argv(i)); - strcat (cls.mapstring, " "); - } - strcat (cls.mapstring, "\n"); - svs.serverflags = 0; // haven't completed an episode yet // remove (any) trailing ".bsp" from mapname S.A.