]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/tturrets/system/system_aimprocs.qc
Remove some `#ifdef GMQCC` conditionals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / tturrets / system / system_aimprocs.qc
index c3dbe55a4848d9d5d0505192a77cfab3057cd77c..1901e4e25c2ff7cb65c4e0a4e3b80bcc51bbedb4 100644 (file)
@@ -11,7 +11,7 @@ vector turret_stdproc_aim_generic()
 {
 
     vector pre_pos, prep;
-    float distance, impact_time, i, mintime;
+    float distance, i, mintime;
 
     turret_tag_fire_update();
 
@@ -30,9 +30,7 @@ vector turret_stdproc_aim_generic()
                {
                        // FIXME: this cant be the best way to do this..
                        prep = pre_pos;
-#ifdef GMQCC
-                       impact_time = 0;
-#endif
+                       float impact_time = 0;
                        for(i = 0; i < 4; ++i)
                        {
                                distance = vlen(prep - self.tur_shotorg);