From b7d3939f3f68617f80d74d0a2bf6ea34ddea1065 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sat, 18 Oct 2008 19:32:11 +0000 Subject: Renamed `gtv.h' to `mvd_gtv.h'. A few fixes here and there. --- source/mvd_parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/mvd_parse.c') diff --git a/source/mvd_parse.c b/source/mvd_parse.c index 0045bc9..a0f9070 100644 --- a/source/mvd_parse.c +++ b/source/mvd_parse.c @@ -380,7 +380,7 @@ static void MVD_UnicastPrint( mvd_t *mvd, qboolean reliable, mvd_player_t *playe continue; } // decide if message should be routed or not - target = ( mvd->flags & 1 ) ? mvd->dummy : + target = ( mvd->flags & MVF_NOMSGS ) ? mvd->dummy : client->target ? client->target : mvd->dummy; if( target == player ) { cl->AddMessage( cl, data, length, reliable ); @@ -1165,6 +1165,8 @@ void MVD_ParseMessage( mvd_t *mvd ) { break; case mvd_print: MVD_ParsePrint( mvd ); + break; + case mvd_nop: break; default: MVD_Destroyf( mvd, "Illegible command at %"PRIz": %d", -- cgit v1.2.3