r4662 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Oct 8 06:24:32 EDT 2008
Author: div0
Date: 2008-10-08 06:24:32 -0400 (Wed, 08 Oct 2008)
New Revision: 4662
Modified:
trunk/data/qcsrc/server/t_items.qc
Log:
fix default weapon color (0xAA is no longer neutral)
Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc 2008-10-08 09:29:15 UTC (rev 4661)
+++ trunk/data/qcsrc/server/t_items.qc 2008-10-08 10:24:32 UTC (rev 4662)
@@ -495,10 +495,12 @@
setsize (self, '-16 -16 0', '16 16 48');
else
setsize (self, '-16 -16 0', '16 16 32');
+
+ if (self.classname != "droppedweapon") // if dropped, colormap is already set up nicely
if (itemflags & FL_WEAPON)
{
// neutral team color for pickup weapons
- self.colormap = 160 * 1024 + 160;
+ self.colormap = 1024; // color shirt=0 pants=0 grey
}
if (cvar("g_fullbrightitems"))
More information about the nexuiz-commits
mailing list