[nexuiz-commits] r8217 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Nov 6 14:12:57 EST 2009
Author: div0
Date: 2009-11-06 14:12:57 -0500 (Fri, 06 Nov 2009)
New Revision: 8217
Modified:
trunk/data/qcsrc/server/cl_client.qc
Log:
use glowmod for nexuiz 2.6 and above (checked using gameversion cvar)
Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc 2009-11-06 00:58:47 UTC (rev 8216)
+++ trunk/data/qcsrc/server/cl_client.qc 2009-11-06 19:12:57 UTC (rev 8217)
@@ -2404,7 +2404,11 @@
}
if(frametime)
+ {
+ if(cvar("gameversion") >= 20600) // only do this for 2.6 and above FIXME remove this check when making 2.6
+ self.glowmod = colormapPaletteColor(self.clientcolors & 0x0F, TRUE) * 2;
player_powerups();
+ }
if (self.deadflag != DEAD_NO)
{
More information about the nexuiz-commits
mailing list