From: terencehill Date: Fri, 2 Dec 2022 15:25:16 +0000 (+0100) Subject: Fix glow color of dropped weapons X-Git-Tag: xonotic-v0.8.6~277 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=40b838075e618d6075fdaa25f2f00b223be3712e;p=xonotic%2Fxonotic-data.pk3dir.git Fix glow color of dropped weapons --- diff --git a/qcsrc/server/weapons/spawning.qc b/qcsrc/server/weapons/spawning.qc index 6a2d65db2..e38a508a9 100644 --- a/qcsrc/server/weapons/spawning.qc +++ b/qcsrc/server/weapons/spawning.qc @@ -153,7 +153,7 @@ void weapon_defaultspawnfunc(entity this, Weapon wpn) if(!this.owner) this.glowmod = wpn.wpcolor; else - this.glowmod = colormapPaletteColor(this.owner.clientcolors & 0x0F, true) * 2; + this.glowmod = colormapPaletteColor(this.owner.clientcolors & 0x0F, true); GameItem def = wpn.m_pickup; _StartItem(