From fc0d76c567545cdefb6cc0cc09d90cbba83f66b0 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Fri, 21 Jan 2011 19:33:13 +0200 Subject: [PATCH] Don't think this code is any longer necessary. If anything, it would need to be entirely redone. Though I don't think bots will have a problem with reloading, since guns auto-reload once they run out of ammo. --- qcsrc/server/bot/havocbot/havocbot.qc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index 2a0d61d10..f6a5d50a3 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -946,12 +946,6 @@ void havocbot_chooseweapon() if(i < 1) return; - // Workaround for rifle reloading (..) - // Is this still needed with the new reload system? - /*if(self.weapon == WEP_SNIPERRIFLE) - if(i < autocvar_g_balance_sniperrifle_reloadtime + 1) - return;*/ - local float w; local float distance; distance=bound(10,vlen(self.origin-self.enemy.origin)-200,10000); -- 2.39.2