diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-02-09 18:13:39 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-02-09 18:13:39 +0000 |
commit | c367d212faf20a7a26430db1cb4436c5e3a0280f (patch) | |
tree | 2baeb068cd4b2aa1e45cbf9ba9c90726da9a7222 /source/sv_send.c | |
parent | a886b5ace3ea469279b6dbc341345e743f691a25 (diff) |
Initial client support for variable server FPS.
Added `cl_updaterate' variable.
Fixed 'jerking bodies' bug when playing MVD stream.
Fixed new entities warping when playing MVD stream.
Allow dummy MVD client to be kicked.
Never update layouts more than once per server frame for MVD observers.
Added support for scrolling MVD client list using `invnext' and `invprev'.
Fixed ref_soft compilation issue.
Removed `mvd_wait_enter' and `mvd_wait_leave' variables
in favor of `mvd_wait_delay' and `mvd_wait_percent'.
Enter waiting state after buffer underflow only.
Added `sv_locked' variable.
Kick clients updating their userinfo to invalid one.
Echo client name changes to the dedicated server console.
Allow truncated MVDs to be played back in a row.
Added `mvdpause' command.
Made `serverstatus' command to query current server if called without argument.
Enumerate clients in `serverstatus' command output.
Demo browser now caches MVDs correctly.
Allow `play' command to be used for playing MVDs too.
Diffstat (limited to 'source/sv_send.c')
-rw-r--r-- | source/sv_send.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/sv_send.c b/source/sv_send.c index fe433b8..1177a92 100644 --- a/source/sv_send.c +++ b/source/sv_send.c @@ -147,7 +147,7 @@ void SV_BroadcastPrintf( int level, const char *fmt, ... ) { va_list argptr; char string[MAX_STRING_CHARS]; client_t *client; - int i, length; + int length; va_start( argptr, fmt ); length = Q_vsnprintf( string, sizeof( string ), fmt, argptr ); @@ -157,14 +157,6 @@ void SV_BroadcastPrintf( int level, const char *fmt, ... ) { MSG_WriteByte( level ); MSG_WriteData( string, length + 1 ); - // echo to console - if( dedicated->integer ) { - // mask off high bits - for( i = 0; string[i]; i++ ) - string[i] &= 127; - Com_Printf( "%s", string ); - } - FOR_EACH_CLIENT( client ) { if( client->state != cs_spawned ) continue; |