From 789dadd67b69532ee3444f036e04166d233224e5 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 5 Sep 2022 23:51:27 +0200 Subject: [PATCH] Bot AI: remove weird zoom logic with the vortex --- qcsrc/common/weapons/weapon/vortex.qc | 5 ----- 1 file changed, 5 deletions(-) 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)) { -- 2.39.2