]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/ewheel.qc
Turrets: make plasma turrets use weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / ewheel.qc
index 3bf4227cfe00f3f8647b195ed1d283ed55241f45..be562a828b7940ff175be627dfef299db8269dc6 100644 (file)
@@ -130,7 +130,7 @@ void ewheel_move_idle()
 
 void spawnfunc_turret_ewheel() { SELFPARAM(); if(!turret_initialize(TUR_EWHEEL.m_id)) remove(self); }
 
-        METHOD(EWheel, tr_attack, bool(EWheel thistur))
+        METHOD(EWheel, tr_attack, void(EWheel thistur))
         {
             SELFPARAM();
             float i;
@@ -150,8 +150,6 @@ void spawnfunc_turret_ewheel() { SELFPARAM(); if(!turret_initialize(TUR_EWHEEL.m
                 if (self.tur_head.frame > 3)
                     self.tur_head.frame = 0;
             }
-
-            return true;
         }
         METHOD(EWheel, tr_think, bool(EWheel thistur))
         {