From: Mario Date: Tue, 16 Jul 2019 14:27:53 +0000 (+1000) Subject: Fix spiderbot secondary attack X-Git-Tag: xonotic-v0.8.5~1460 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3b6dabcfed3e4a411dd3e77512230436cdd46614;p=xonotic%2Fxonotic-data.pk3dir.git Fix spiderbot secondary attack --- diff --git a/qcsrc/common/vehicles/vehicle/spiderbot_weapons.qc b/qcsrc/common/vehicles/vehicle/spiderbot_weapons.qc index 3b4b60eef..308a92fd8 100644 --- a/qcsrc/common/vehicles/vehicle/spiderbot_weapons.qc +++ b/qcsrc/common/vehicles/vehicle/spiderbot_weapons.qc @@ -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"));