From 6110f5b7f8b966f961eff44f0161e6b3cef2c1d9 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sat, 12 Feb 2011 00:49:30 +0200 Subject: [PATCH] Remove the first code. Now that bots know how to reload their weapons during brakes, it might be less intelligent to not switch while reloading during combat. --- qcsrc/server/bot/havocbot/havocbot.qc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index 40c95586d..7463cfc6f 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -967,11 +967,6 @@ void havocbot_chooseweapon() return; } - // Do not change weapon while reloading. If we do, the bot risks switching betwen empty weapons - // before getting to reload them, shooting none of them at all, giving lower overall performance - if(self.weapon && self.clip_load < 1) - return; - // Do not change weapon during the next second after a combo i = time - self.lastcombotime; if(i < 1) -- 2.39.2