From e83425f37b2b25d840f45e16f4ddf1bdf525dfcf Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 20 Nov 2004 01:21:17 +0000 Subject: [PATCH] Some DP protocol extensions. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@497 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 8c1ce861f..65fde6059 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -3939,7 +3939,7 @@ void CLNQ_ParseServerMessage (void) switch (cmd) { default: - Host_EndGame ("bad protocol\n");//Host_EndGame ("CL_ParseServerMessage: Illegible server message"); + Host_EndGame ("CLNQ_ParseServerMessage: Illegible server message (%i)", cmd); return; case svc_nop: @@ -4141,8 +4141,13 @@ void CLNQ_ParseServerMessage (void) case svc_damage: V_ParseDamage (0); break; - + case svcnq_effect: + CL_ParseEffect(false); + break; + case svcnq_effect2: + CL_ParseEffect(true); + break; } } }