]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret.qh
Step 5: complete
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret.qh
index 5ac3c2ef6446cbdc865f6d3a0d774edc2ab96f8f..151797b6d891c3360ef1d861048c11f85b1da9a1 100644 (file)
@@ -48,7 +48,7 @@ CLASS(Turret, Object)
     METHOD(Turret, tr_attack, void(Turret this, entity it)) {
         Weapon w = this.m_weapon;
         .entity weaponentity = weaponentities[0];
-        w.wr_think(w, self, weaponentity, 1);
+        w.wr_think(w, this, weaponentity, 1);
     }
 #endif
     /** (ALL) */