]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/flac_weapon.qc
Fix compile with TURRET_DEBUG
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / flac_weapon.qc
index d9d7a3f1423e0c5d724b9a977b6236b2bb87d4dc..64b5e20543f1639d0cf44c38f926262448a6fe71 100644 (file)
@@ -42,8 +42,8 @@ void turret_flac_projectile_think_explode(entity this)
 
 #ifdef TURRET_DEBUG
     float d = RadiusDamage (this, this.owner, this.owner.shot_dmg, this.owner.shot_dmg, this.owner.shot_radius, this, NULL, this.owner.shot_force, this.totalfrags, DMG_NOWEP, NULL);
-    this.owner.tur_dbg_dmg_t_h = this.owner.tur_dbg_dmg_t_h + d;
-    this.owner.tur_dbg_dmg_t_f = this.owner.tur_dbg_dmg_t_f + this.owner.shot_dmg;
+    this.owner.tur_debug_dmg_t_h = this.owner.tur_debug_dmg_t_h + d;
+    this.owner.tur_debug_dmg_t_f = this.owner.tur_debug_dmg_t_f + this.owner.shot_dmg;
 #else
     RadiusDamage (this, this.realowner, this.owner.shot_dmg, this.owner.shot_dmg, this.owner.shot_radius, this, NULL, this.owner.shot_force, this.totalfrags, DMG_NOWEP, NULL);
 #endif