]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bot AI: remove weird zoom logic with the vortex
authorterencehill <piuntn@gmail.com>
Mon, 5 Sep 2022 21:51:27 +0000 (23:51 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 5 Sep 2022 21:51:27 +0000 (23:51 +0200)
qcsrc/common/weapons/weapon/vortex.qc

index f92af9fae3e031a2efc8e7e88b3f35e330e386f0..98762a03e13f4fe1c96a7a187348fdc069e1d81f 100644 (file)
@@ -171,11 +171,6 @@ METHOD(Vortex, wr_aim, void(entity thiswep, entity actor, .entity weaponentity))
 {
     if(bot_aim(actor, weaponentity, 1000000, 0, 1, false, true))
         PHYS_INPUT_BUTTON_ATCK(actor) = true;
-    else
-    {
-        if(WEP_CVAR(vortex, charge))
-            PHYS_INPUT_BUTTON_ATCK2(actor) = true;
-    }
 }
 METHOD(Vortex, wr_think, void(entity thiswep, entity actor, .entity weaponentity, int fire))
 {