Merge branch 'master' into Mario/monsters
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / tturrets / units / unit_fusionreactor.qc
index 5954384..32e4a24 100644 (file)
@@ -46,7 +46,7 @@ float turret_fusionreactor_firecheck()
        if (self.enemy.ammo >= self.enemy.ammo_max)
                return 0;
        
-       if(IsDifferentTeam(self, self.enemy))
+       if(DIFF_TEAM(self, self.enemy))
                return 0;
        
        if not (self.enemy.ammo_flags & TFL_AMMO_ENERGY)