From: Mario Date: Sun, 22 Feb 2015 02:15:40 +0000 (+1100) Subject: Network colormod even to players (g_player_brightness) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bf439d5925959b59146d7fdc76b57d8ba10e1dc0;p=xonotic%2Fxonotic-data.pk3dir.git Network colormod even to players (g_player_brightness) --- diff --git a/qcsrc/common/csqcmodel_settings.qh b/qcsrc/common/csqcmodel_settings.qh index 959372168..af693c298 100644 --- a/qcsrc/common/csqcmodel_settings.qh +++ b/qcsrc/common/csqcmodel_settings.qh @@ -37,10 +37,10 @@ CSQCMODEL_PROPERTY_SCALED(256, float, ReadByte, WriteByte, glowmod_x, 254, -1, 254) \ CSQCMODEL_PROPERTY_SCALED(256, float, ReadByte, WriteByte, glowmod_y, 254, -1, 254) \ CSQCMODEL_PROPERTY_SCALED(256, float, ReadByte, WriteByte, glowmod_z, 254, -1, 254) \ - CSQCMODEL_PROPERTY_SCALED(256, float, ReadByte, WriteByte, colormod_x, 254, -1, 254) \ - CSQCMODEL_PROPERTY_SCALED(256, float, ReadByte, WriteByte, colormod_y, 254, -1, 254) \ - CSQCMODEL_PROPERTY_SCALED(256, float, ReadByte, WriteByte, colormod_z, 254, -1, 254) \ CSQCMODEL_ENDIF \ + CSQCMODEL_PROPERTY(256, float, ReadCoord, WriteCoord, colormod_x) \ + CSQCMODEL_PROPERTY(256, float, ReadCoord, WriteCoord, colormod_y) \ + CSQCMODEL_PROPERTY(256, float, ReadCoord, WriteCoord, colormod_z) \ CSQCMODEL_IF(isplayer) \ CSQCMODEL_PROPERTY(128, int, ReadByte, WriteByte, anim_state) \ CSQCMODEL_PROPERTY(128, float, ReadApproxPastTime, WriteApproxPastTime, anim_time) \