From: terencehill Date: Mon, 5 Sep 2022 21:51:27 +0000 (+0200) Subject: Bot AI: remove weird zoom logic with the vortex X-Git-Tag: xonotic-v0.8.6~322^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=789dadd67b69532ee3444f036e04166d233224e5;p=xonotic%2Fxonotic-data.pk3dir.git Bot AI: remove weird zoom logic with the vortex --- diff --git a/qcsrc/common/weapons/weapon/vortex.qc b/qcsrc/common/weapons/weapon/vortex.qc index f92af9fae..98762a03e 100644 --- a/qcsrc/common/weapons/weapon/vortex.qc +++ b/qcsrc/common/weapons/weapon/vortex.qc @@ -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)) {