summaryrefslogtreecommitdiff
path: root/source/cl_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-10-01 13:13:25 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-10-01 13:13:25 +0000
commit3544752417431e55fab8226318e985d1b97cfb32 (patch)
tree79b1b9a89b2fa850248ac38f38c7b9d3fecf2d93 /source/cl_main.c
parent328163a3d1f53e574c2ca312b3f61552e102e984 (diff)
Stubbed out more client stuff from dedicated server build.
Dedicated server now properly handles `wait' console command.
Diffstat (limited to 'source/cl_main.c')
-rw-r--r--source/cl_main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source/cl_main.c b/source/cl_main.c
index 245e826..86d8246 100644
--- a/source/cl_main.c
+++ b/source/cl_main.c
@@ -250,14 +250,14 @@ void CL_ClientCommand( const char *string ) {
/*
===================
-Cmd_ForwardToServer
+CL_ForwardToServer
adds the current command line as a clc_stringcmd to the client message.
things like godmode, noclip, etc, are commands directed to the server,
so when they are typed in at the console, they will need to be forwarded.
===================
*/
-qboolean Cmd_ForwardToServer( void ) {
+qboolean CL_ForwardToServer( void ) {
char *cmd;
cmd = Cmd_Argv( 0 );
@@ -2659,10 +2659,6 @@ void CL_Frame( unsigned msec ) {
time_after_ref = time_before_ref = 0;
if( !cl_running->integer ) {
- // still run cmd buffer in dedicated mode
- if( cmd_buffer.waitCount > 0 ) {
- cmd_buffer.waitCount--;
- }
return;
}