diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-01-04 22:45:32 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-01-04 22:45:32 +0000 |
commit | cfed1adf2730a07f31ccb7644f274ead21c31879 (patch) | |
tree | a24638d36c785264178203801f6945fec2ef5a9c /source/sv_game.c | |
parent | 0f73c3d00f54ed960cf01d0cfe30734cda26586c (diff) |
Updated revision to 177.
Updated minor MVD protocol version to 2010.
Do not wrap bprintf messages into mvd_multicast, use mvd_print instead.
Locked `sv_mvd_wait' variable until things are sorted out.
Diffstat (limited to 'source/sv_game.c')
-rw-r--r-- | source/sv_game.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/sv_game.c b/source/sv_game.c index 55c3a45..4cbad96 100644 --- a/source/sv_game.c +++ b/source/sv_game.c @@ -162,6 +162,10 @@ static void PF_bprintf( int level, const char *fmt, ... ) { length = Q_vsnprintf( string, sizeof( string ), fmt, argptr ); va_end( argptr ); + if( sv_mvd_enable->integer ) { + SV_MvdBroadcastPrint( level, string ); + } + MSG_WriteByte( svc_print ); MSG_WriteByte( level ); MSG_WriteData( string, length + 1 ); @@ -181,9 +185,6 @@ static void PF_bprintf( int level, const char *fmt, ... ) { SV_ClientAddMessage( client, MSG_RELIABLE ); } } - if( sv_mvd_enable->integer ) { - SV_MvdMulticast( &sv.mvd.message, -1, mvd_multicast_all_r ); - } SZ_Clear( &msg_write ); } |