From b3e19e9ee4d08ea5e9c0e8765640385eeeb8c69d Mon Sep 17 00:00:00 2001 From: savagex Date: Fri, 11 Nov 2005 19:16:00 +0000 Subject: [PATCH] neutral team color for pickup weapons (this time hopefully working) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@576 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/gamec/t_items.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/qcsrc/gamec/t_items.c b/data/qcsrc/gamec/t_items.c index a4ca31ded..4f474fbf4 100644 --- a/data/qcsrc/gamec/t_items.c +++ b/data/qcsrc/gamec/t_items.c @@ -131,9 +131,8 @@ void StartItem (string itemmodel, string pickupsound, float defaultrespawntime, setorigin (self, self.origin + '0 0 22'); setsize (self, '-12 -12 -12', '12 12 12'); - // FIXME: weapon pickups should have a proper 'team' color (something neutral) - // This would be the right place to do this - // doesn't work: setcolor(self,178.0); + // neutral team color for pickup weapons + self.colormap = 160 * 1024 + 160; } else { -- 2.39.2