]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix spiderbot secondary attack
authorMario <mario@smbclan.net>
Tue, 16 Jul 2019 14:27:53 +0000 (00:27 +1000)
committerMario <mario@smbclan.net>
Tue, 16 Jul 2019 14:27:53 +0000 (00:27 +1000)
qcsrc/common/vehicles/vehicle/spiderbot_weapons.qc

index 3b4b60eef0a6b3b875e020f778d9653281cf2b62..308a92fd87871bbe4972d441ef56ea40cd6ae0d1 100644 (file)
@@ -175,7 +175,7 @@ void spiderbot_rocket_do(entity this)
     if(!PHYS_INPUT_BUTTON_ATCK2(this.owner))
         return;
 
-    if(!weaponLocked(this.owner) && !weaponUseForbidden(this.owner))
+    if(weaponLocked(this.owner) || weaponUseForbidden(this.owner))
         return;
 
     v = gettaginfo(this.tur_head,gettagindex(this.tur_head,"tag_fire"));