]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
fixed the SU_ITEMS fix so that it doesn't trash the PROTOCOL_DARKPLACES6 parsing
[xonotic/darkplaces.git] / cl_parse.c
index 0230773107435e6f944cad655a4bc4c8422b4caf..3edb16abc43d863638d9245c89b28b57d945662b 100644 (file)
@@ -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;