]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Link .clipgroup with CSQC on networked models so that collision matches in engines...
authorMario <mario.mario@y7mail.com>
Thu, 16 Jul 2020 12:06:28 +0000 (22:06 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 16 Jul 2020 12:06:28 +0000 (22:06 +1000)
qcsrc/common/csqcmodel_settings.qh

index 96836a38e23c635d00c5c731a3478a6d46d3afb3..f342bdde7f0fe29d4406e220d8ec0b81fc3e2d59 100644 (file)
@@ -65,7 +65,8 @@
        CSQCMODEL_PROPERTY(BIT(13), int, ReadInt24_t, WriteInt24_t, dphitcontentsmask) \
        CSQCMODEL_PROPERTY(BIT(14), TAG_VIEWLOC_TYPE, ReadShort, WriteEntity, TAG_VIEWLOC_NAME) \
        CSQCMODEL_PROPERTY(BIT(16), int, ReadByte, WriteByte, multijump_count) \
-       CSQCMODEL_PROPERTY(BIT(16), int, ReadByte, WriteByte, move_movetype)
+       CSQCMODEL_PROPERTY(BIT(16), int, ReadByte, WriteByte, move_movetype) \
+       CSQCMODEL_PROPERTY(BIT(17), int, ReadByte, WriteByte, clipgroup)
 // TODO get rid of colormod/glowmod here; also get rid of some useless properties on non-players that only exist for CopyBody
 
 // add hook function calls here