From eb9063a807fe2ad7b8e01f83b8e59b8cb50bb278 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 18 Apr 2005 02:21:48 +0000 Subject: [PATCH] fixed the SU_ITEMS fix so that it doesn't trash the PROTOCOL_DARKPLACES6 parsing git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5193 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_parse.c b/cl_parse.c index 02307731..3edb16ab 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -676,8 +676,8 @@ void CL_ParseClientdata (void) } } - // LordHavoc: hipnotic demos don't have this bit set -// [always sent] if (bits & SU_ITEMS) + // LordHavoc: hipnotic demos don't have this bit set but should + if (bits & SU_ITEMS || cl.protocol != PROTOCOL_DARKPLACES6) cl.stats[STAT_ITEMS] = MSG_ReadLong (); cl.onground = (bits & SU_ONGROUND) != 0; -- 2.39.2