From b44563794a2f0644800fdf82f2a848888de6c10b Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 3 Aug 2002 20:27:54 +0000 Subject: [PATCH] cls.spawnparms isn't needed git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2174 d7cf8633-e32d-0410-b094-e92efae38249 --- host_cmd.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/host_cmd.c b/host_cmd.c index 1dec6eca..d4b1a659 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -241,15 +241,15 @@ SERVER TRANSITIONS ====================== Host_Map_f -handle a +handle a map command from the console. Active clients are kicked off. ====================== */ void Host_Map_f (void) { - int i; - char name[MAX_QPATH]; + int i; + char name[MAX_QPATH]; if (cmd_source != src_command) return; @@ -259,7 +259,7 @@ void Host_Map_f (void) SCR_BeginLoadingPlaque (); CL_Disconnect (); - Host_ShutdownServer(false); + Host_ShutdownServer(false); key_dest = key_game; // remove console or menu @@ -276,9 +276,10 @@ void Host_Map_f (void) SV_SpawnServer (name); if (!sv.active) return; - + if (cls.state != ca_dedicated) { + /* strcpy (cls.spawnparms, ""); for (i=2 ; imessage, i); MSG_WriteByte (&host_client->message, client->colors); } - + // send all current light styles for (i=0 ; i