summaryrefslogtreecommitdiff
path: root/source/sv_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_game.c')
-rw-r--r--source/sv_game.c7
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 );
}