]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/ewheel.qc
Fix the use of self, activator and other globals in .use
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / ewheel.qc
index 798e141ecd2e5caa4e12765eee020ab8830a0f6c..1c3d5731fd69549bdf0af6e17352d83c79c230bb 100644 (file)
@@ -49,8 +49,8 @@ void ewheel_move_path()
 
             if (self.pathgoal)
             {
-                if (self.pathgoal.use)
-                    self.pathgoal.use();
+                if (self.pathgoal.use1)
+                    self.pathgoal.use1(self.pathgoal, NULL, NULL);
 
                 if (self.pathgoal.enemy)
                 {