From: havoc Date: Mon, 18 Apr 2005 02:21:48 +0000 (+0000) Subject: fixed the SU_ITEMS fix so that it doesn't trash the PROTOCOL_DARKPLACES6 parsing X-Git-Tag: xonotic-v0.1.0preview~4986 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eb9063a807fe2ad7b8e01f83b8e59b8cb50bb278;p=xonotic%2Fdarkplaces.git 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 --- 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;