]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/fusionreactor.qc
Use IS_DEAD everywhere
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / fusionreactor.qc
index 889ba79a043563bdc6519718d2f5d86d18e8f6fe..4f3e7cc704869257d18f23886277bb868034a45e 100644 (file)
@@ -22,7 +22,7 @@ bool turret_fusionreactor_firecheck()
     if (self.attack_finished_single[0] > time)
         return false;
 
-    if (self.enemy.deadflag != DEAD_NO)
+    if (IS_DEAD(self.enemy))
         return false;
 
     if (self.enemy == world)