From 2822b47c3fc17b87d0577a911542a14be6f1e9a7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 13 Jan 2010 06:53:10 +0000 Subject: [PATCH] we don't need any evil hacks around here :) It seems the cursor hack hasn't been needed for a while. Also get rid of some crazy function redirection and bogus comments --- qw/source/sv_main.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/qw/source/sv_main.c b/qw/source/sv_main.c index b0a59f509..5c7883886 100644 --- a/qw/source/sv_main.c +++ b/qw/source/sv_main.c @@ -1865,17 +1865,6 @@ SV_CheckTimeouts (void) } } -/* - SV_GetConsoleCommands - - Add them exactly as if they had been typed at the console -*/ -static void -SV_GetConsoleCommands (void) -{ - Con_ProcessInput (); -} - /* SV_CheckVars */ @@ -1968,11 +1957,10 @@ SV_Frame (float time) // get packets SV_ReadPackets (); - // check for commands typed to the host - SV_GetConsoleCommands (); + // check for typing at the console + Con_ProcessInput (); // process gib threads - GIB_Thread_Execute (); // process console commands @@ -2011,7 +1999,6 @@ SV_Frame (float time) svs.stats.demo = 0; Con_DrawConsole (); } - Con_ProcessInput (); //XXX evil hack to get the cursor in the right place } static void