diff options
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r-- | source/mvd_parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 ); @@ -1166,6 +1166,8 @@ void MVD_ParseMessage( mvd_t *mvd ) { case mvd_print: MVD_ParsePrint( mvd ); break; + case mvd_nop: + break; default: MVD_Destroyf( mvd, "Illegible command at %"PRIz": %d", msg_read.readcount - 1, cmd ); |