remove the defunct cls.mapstring

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@314 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-08-30 02:15:22 +00:00
parent f37e8be035
commit 92d29b5a15
2 changed files with 0 additions and 10 deletions

View file

@ -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

View file

@ -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.