* host_cmd.c (Host_Map_f): Do not call IN_Activate() for dedicated servers.

(Host_Changelevel_f): Likewise.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@183 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-06-19 09:00:22 +00:00
parent 367886b460
commit 243c2a6647
1 changed files with 4 additions and 2 deletions

View File

@ -813,7 +813,8 @@ void Host_Map_f (void)
CL_Disconnect ();
Host_ShutdownServer(false);
IN_Activate();
if (cls.state != ca_dedicated)
IN_Activate();
key_dest = key_game; // remove console or menu
SCR_BeginLoadingPlaque ();
@ -874,7 +875,8 @@ void Host_Changelevel_f (void)
Host_Error ("cannot find map %s", level);
//johnfitz
IN_Activate(); // -- S.A.
if (cls.state != ca_dedicated)
IN_Activate(); // -- S.A.
key_dest = key_game; // remove console or menu
SV_SaveSpawnparms ();
strcpy (level, Cmd_Argv(1));