fix warning
authortzork <tzork@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Wed, 24 Feb 2010 22:36:03 +0000 (22:36 +0000)
committertzork <tzork@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Wed, 24 Feb 2010 22:36:03 +0000 (22:36 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8669 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/tturrets/units/unit_fusionreactor.qc

index d66c90f..601a934 100644 (file)
@@ -27,10 +27,9 @@ void turret_fusionreactor_fire()
 
 void turret_fusionreactor_postthink()
 {
-    float v;
-    v = self.ammo / self.ammo_max;
-
-    self.tur_head.avelocity = '0 250 0' * v;
+    float f;
+    f = self.ammo / self.ammo_max;
+    self.tur_head.avelocity = '0 250 0' * f;
 }
 
 void turret_fusionreactor_respawnhook()