use the right spawnflag
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_triggers.qc
index 20372ec9e16de7ecf123ba9f3b87a41baf1977ce..4a66f229380ea9c505962ae4e5aa0abe9674d171 100644 (file)
@@ -1079,7 +1079,7 @@ void misc_laser_think()
        if(self.dmg)
        {
                if(self.team)
-                       if((self.spawnflags & 4 == 0) == (self.team != hitent.team))
+                       if((self.spawnflags & 8 == 0) == (self.team != hitent.team))
                                return;
                if(hitent.takedamage)
                        Damage(hitent, self, self, ((self.dmg < 0) ? 100000 : (self.dmg * frametime)), DEATH_HURTTRIGGER, hitloc, '0 0 0');