]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix monster model scales again
authorMario <mario.mario@y7mail.com>
Tue, 1 Oct 2013 12:36:19 +0000 (05:36 -0700)
committerMario <mario.mario@y7mail.com>
Tue, 1 Oct 2013 12:36:19 +0000 (05:36 -0700)
qcsrc/common/csqcmodel_settings.qh

index 3c4ca494d1dddf90a7f9b806a4f7c46179f91fff..74482b925db0c5faf9b4c9650965dcf9106a6be5 100644 (file)
@@ -49,7 +49,7 @@
        CSQCMODEL_IF(!isplayer) \
                CSQCMODEL_PROPERTY(2048, float, ReadByte, WriteByte, monsterid) \
        CSQCMODEL_ENDIF \
-       CSQCMODEL_PROPERTY_SCALED(4096, float, ReadByte, WriteByte, scale, 254, -1, 254)
+       CSQCMODEL_PROPERTY_SCALED(4096, float, ReadShort, WriteShort, scale, 256, 0, 16384)
 // 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