From: Mario Date: Sat, 1 Apr 2017 11:50:30 +0000 (+1000) Subject: Fix projectile glowmod support X-Git-Tag: xonotic-v0.8.2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f42f6d147f70252e493cf6de3ba492a74a30403;p=xonotic%2Fxonotic-data.pk3dir.git Fix projectile glowmod support --- diff --git a/qcsrc/client/weapons/projectile.qc b/qcsrc/client/weapons/projectile.qc index 9c8f518d7..f31bef7a3 100644 --- a/qcsrc/client/weapons/projectile.qc +++ b/qcsrc/client/weapons/projectile.qc @@ -277,10 +277,13 @@ NET_HANDLE(ENT_CLIENT_PROJECTILE, bool isnew) } else this.colormap = myteam; + // TODO: projectiles use glowmaps for their color, not teams + #if 0 if(this.colormap > 0) this.glowmod = colormapPaletteColor(this.colormap & 0x0F, true) * 2; else this.glowmod = '1 1 1'; + #endif } if (f & 2)