From: Mario Date: Sun, 7 May 2017 17:24:43 +0000 (+1000) Subject: Make map weapons glow the color of their waypoint instead of white X-Git-Tag: xonotic-v0.8.5~2792 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=edf6dc79ea73da8ee78f426ba13675ef482d17f1;p=xonotic%2Fxonotic-data.pk3dir.git Make map weapons glow the color of their waypoint instead of white --- diff --git a/qcsrc/server/weapons/spawning.qc b/qcsrc/server/weapons/spawning.qc index 00bc0e5d1..b493409b0 100644 --- a/qcsrc/server/weapons/spawning.qc +++ b/qcsrc/server/weapons/spawning.qc @@ -133,6 +133,9 @@ void weapon_defaultspawnfunc(entity this, Weapon e) if (g_pickup_weapons_anyway) this.pickup_anyway = true; + if(!this.owner) + this.glowmod = wpn.wpcolor; + GameItem def = wpn.m_pickup; _StartItem( this,