From 313e6b2d1d49c4192897ca902241567e53d3ce85 Mon Sep 17 00:00:00 2001 From: savagex Date: Fri, 11 Nov 2005 08:35:50 +0000 Subject: [PATCH] meh, previous checkin (neutral color for pickup wepons) just doesn't work (unpredicatable colormap). git-svn-id: svn://svn.icculus.org/nexuiz/trunk@575 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/gamec/t_items.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/gamec/t_items.c b/data/qcsrc/gamec/t_items.c index 3648e0372..a4ca31ded 100644 --- a/data/qcsrc/gamec/t_items.c +++ b/data/qcsrc/gamec/t_items.c @@ -130,7 +130,10 @@ void StartItem (string itemmodel, string pickupsound, float defaultrespawntime, { setorigin (self, self.origin + '0 0 22'); setsize (self, '-12 -12 -12', '12 12 12'); - self.colormap = 178; + + // 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); } else { -- 2.39.2