From: Mario Date: Thu, 26 Dec 2013 04:45:24 +0000 (+1100) Subject: Don't network monsterid X-Git-Tag: xonotic-v0.8.0~241^2^2~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=edf326771b102b2039eac55762be2aac3cabc784;p=xonotic%2Fxonotic-data.pk3dir.git Don't network monsterid --- diff --git a/qcsrc/common/csqcmodel_settings.qh b/qcsrc/common/csqcmodel_settings.qh index 3f6dea7d1..cfe012275 100644 --- a/qcsrc/common/csqcmodel_settings.qh +++ b/qcsrc/common/csqcmodel_settings.qh @@ -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 diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 56b83fee9..fb8911258 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -210,7 +210,7 @@ void ClientCommand_mobedit(float request, float argc) } } } - + void ClientCommand_mobkill(float request) { switch(request)