]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't network monsterid
authorMario <mario.mario@y7mail.com>
Thu, 26 Dec 2013 04:45:24 +0000 (15:45 +1100)
committerMario <mario.mario@y7mail.com>
Thu, 26 Dec 2013 04:45:24 +0000 (15:45 +1100)
qcsrc/common/csqcmodel_settings.qh
qcsrc/server/command/cmd.qc

index 3f6dea7d11f2c8f2032f727059a5d3c9235c9a33..cfe012275cdeb6105f4009c6e76d79baf46beae4 100644 (file)
@@ -48,9 +48,6 @@
                CSQCMODEL_PROPERTY(512, float, ReadChar, WriteChar, anim_upper_action) \
                CSQCMODEL_PROPERTY(512, float, ReadApproxPastTime, WriteApproxPastTime, anim_upper_time) \
        CSQCMODEL_ENDIF \
-       CSQCMODEL_IF(!isplayer) \
-               CSQCMODEL_PROPERTY(2048, float, ReadByte, WriteByte, monsterid) \
-       CSQCMODEL_ENDIF \
        CSQCMODEL_PROPERTY(1024, float, ReadAngle, WriteAngle, v_angle_x) \
        CSQCMODEL_PROPERTY_SCALED(4096, float, ReadByte, WriteByte, scale, 16, 0, 255)
 // 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
index 56b83fee99e519e4d4de28f6231f3858d007830b..fb891125882c08be9f861d6b30f48edafb5a6b72 100644 (file)
@@ -210,7 +210,7 @@ void ClientCommand_mobedit(float request, float argc)
                }
        }
 }
-       
+
 void ClientCommand_mobkill(float request)
 {
        switch(request)