mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
* host_cmd.c (Host_Map_f): Do not call IN_Activate() for dedicated servers.
(Host_Changelevel_f): Likewise. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@183 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
3d537f9ec2
commit
58d37f36a3
1 changed files with 4 additions and 2 deletions
|
@ -813,7 +813,8 @@ void Host_Map_f (void)
|
||||||
CL_Disconnect ();
|
CL_Disconnect ();
|
||||||
Host_ShutdownServer(false);
|
Host_ShutdownServer(false);
|
||||||
|
|
||||||
IN_Activate();
|
if (cls.state != ca_dedicated)
|
||||||
|
IN_Activate();
|
||||||
key_dest = key_game; // remove console or menu
|
key_dest = key_game; // remove console or menu
|
||||||
SCR_BeginLoadingPlaque ();
|
SCR_BeginLoadingPlaque ();
|
||||||
|
|
||||||
|
@ -874,7 +875,8 @@ void Host_Changelevel_f (void)
|
||||||
Host_Error ("cannot find map %s", level);
|
Host_Error ("cannot find map %s", level);
|
||||||
//johnfitz
|
//johnfitz
|
||||||
|
|
||||||
IN_Activate(); // -- S.A.
|
if (cls.state != ca_dedicated)
|
||||||
|
IN_Activate(); // -- S.A.
|
||||||
key_dest = key_game; // remove console or menu
|
key_dest = key_game; // remove console or menu
|
||||||
SV_SaveSpawnparms ();
|
SV_SaveSpawnparms ();
|
||||||
strcpy (level, Cmd_Argv(1));
|
strcpy (level, Cmd_Argv(1));
|
||||||
|
|
Loading…
Reference in a new issue