From: havoc Date: Wed, 12 Apr 2006 22:40:14 +0000 (+0000) Subject: don't hide console when entering a map, only do so for timedemo X-Git-Tag: xonotic-v0.1.0preview~4096 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=32cc55cd61cdc4efad6585ff5f6a51cba6d804ec;p=xonotic%2Fdarkplaces.git don't hide console when entering a map, only do so for timedemo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6268 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 458ad9da..a1c427b7 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -271,9 +271,8 @@ void Host_Map_f (void) CL_Disconnect (); Host_ShutdownServer(); - // remove console or menu + // remove menu key_dest = key_game; - key_consoleactive = 0; svs.serverflags = 0; // haven't completed an episode yet allowcheats = sv_cheats.integer != 0; @@ -333,9 +332,8 @@ void Host_Changelevel_f (void) if (cmd_source != src_command) return; - // remove console or menu + // remove menu key_dest = key_game; - key_consoleactive = 0; SV_VM_Begin(); SV_SaveSpawnparms (); @@ -371,9 +369,8 @@ void Host_Restart_f (void) if (cmd_source != src_command) return; - // remove console or menu + // remove menu key_dest = key_game; - key_consoleactive = 0; allowcheats = sv_cheats.integer != 0; strcpy(mapname, sv.name);