]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix projectile glowmod support xonotic-v0.8.2
authorMario <mario@smbclan.net>
Sat, 1 Apr 2017 11:50:30 +0000 (21:50 +1000)
committerMario <mario@smbclan.net>
Sat, 1 Apr 2017 11:50:30 +0000 (21:50 +1000)
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)