From: Mircea Kitsune Date: Wed, 4 Apr 2012 13:44:06 +0000 (+0300) Subject: Properly copy colormap and glowmod X-Git-Tag: xonotic-v0.7.0~111^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b53581a7d8cf14b87df6262398dc575f24789e59;p=xonotic%2Fxonotic-data.pk3dir.git Properly copy colormap and glowmod --- 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;