From: Mario Date: Sun, 25 Mar 2018 07:52:34 +0000 (+1000) Subject: Send scale as a Coord (it absolutely needs accuracy at high values) X-Git-Tag: xonotic-v0.8.5~2219 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=313c2a9cf9edcaf0e492287adb5bf3a1582e0eb0;p=xonotic%2Fxonotic-data.pk3dir.git Send scale as a Coord (it absolutely needs accuracy at high values) --- diff --git a/qcsrc/common/csqcmodel_settings.qh b/qcsrc/common/csqcmodel_settings.qh index 836c3983c..7c5a218b2 100644 --- a/qcsrc/common/csqcmodel_settings.qh +++ b/qcsrc/common/csqcmodel_settings.qh @@ -56,7 +56,7 @@ CSQCMODEL_ENDIF \ CSQCMODEL_PROPERTY(BIT(10), float, ReadAngle, WriteAngle, v_angle_x) \ CSQCMODEL_PROPERTY(BIT(11), int, ReadByte, WriteByte, traileffect) \ - CSQCMODEL_PROPERTY_SCALED(BIT(12), float, ReadByte, WriteByte, scale, 16, 0, 255) \ + CSQCMODEL_PROPERTY(BIT(12), float, ReadCoord, WriteCoord, scale) \ 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) \