From: Mario Date: Tue, 1 Oct 2013 11:10:58 +0000 (-0700) Subject: Properly network scale X-Git-Tag: xonotic-v0.8.0~241^2^2~66 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d570207a34f78a2f86b4b4bdd2c85459111e2c4b;p=xonotic%2Fxonotic-data.pk3dir.git Properly network scale --- diff --git a/qcsrc/common/csqcmodel_settings.qh b/qcsrc/common/csqcmodel_settings.qh index c79ff007d..3c4ca494d 100644 --- a/qcsrc/common/csqcmodel_settings.qh +++ b/qcsrc/common/csqcmodel_settings.qh @@ -48,8 +48,8 @@ CSQCMODEL_ENDIF \ CSQCMODEL_IF(!isplayer) \ CSQCMODEL_PROPERTY(2048, float, ReadByte, WriteByte, monsterid) \ - CSQCMODEL_PROPERTY(4096, float, ReadByte, WriteByte, scale) \ - CSQCMODEL_ENDIF + CSQCMODEL_ENDIF \ + CSQCMODEL_PROPERTY_SCALED(4096, float, ReadByte, WriteByte, scale, 254, -1, 254) // TODO get rid of colormod/glowmod here, find good solution for nex charge glowmod hack; also get rid of some useless properties on non-players that only exist for CopyBody // add hook function calls here