]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix glow color of dropped weapons
authorterencehill <piuntn@gmail.com>
Fri, 2 Dec 2022 15:25:16 +0000 (16:25 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 2 Dec 2022 15:25:16 +0000 (16:25 +0100)
qcsrc/server/weapons/spawning.qc

index 6a2d65db2075b19a02a74cbba26adf4f47c8d17b..e38a508a90ca69e6f52c38b6bb3c38f66b663df4 100644 (file)
@@ -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(