From b53581a7d8cf14b87df6262398dc575f24789e59 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Wed, 4 Apr 2012 16:44:06 +0300 Subject: [PATCH] Properly copy colormap and glowmod --- qcsrc/server/mutators/mutator_physical_weapons.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/mutator_physical_weapons.qc b/qcsrc/server/mutators/mutator_physical_weapons.qc index fa27a36a7a..cbfc579018 100644 --- a/qcsrc/server/mutators/mutator_physical_weapons.qc +++ b/qcsrc/server/mutators/mutator_physical_weapons.qc @@ -25,8 +25,8 @@ MUTATOR_HOOKFUNCTION(item_spawning) wep.movetype = MOVETYPE_PHYSICS; wep.takedamage = DAMAGE_AIM; wep.effects |= EF_NOMODELFLAGS; // disable the spinning - wep.colormap = self.colormap; - wep.glowmod = self.glowmod; + wep.colormap = self.owner.colormap; + wep.glowmod = self.owner.glowmod; wep.damageforcescale = autocvar_g_ode_items_damageforcescale; wep.think = thrown_wep_ode_think; -- 2.39.2