]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret.qh
Weapons: remove many direct references to `self`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret.qh
index edf1d5b573f9cd44ba2d45b4c9da6b89e4db33d7..8862f47d7763ce8640192bee5048fadd9fb048d7 100644 (file)
@@ -46,7 +46,7 @@ CLASS(Turret, Object)
     /** (SERVER) called when turret attacks */
     METHOD(Turret, tr_attack, void(Turret this)) {
         Weapon w = this.m_weapon;
-        w.wr_think(w, true, false);
+        w.wr_think(w, self, true, false);
     }
     /** (ALL) */
     METHOD(Turret, tr_config, void(Turret this)) {