]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/weapons/projectile.qc
Fix projectile glowmod support
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / weapons / projectile.qc
index 9c8f518d79b8b7dd0a434766113ade611952ca32..f31bef7a37bcb166f3840188d82b69835d1d67f0 100644 (file)
@@ -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)