From dc5c35c50b41e50282ee9c7167369c1a78238300 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sat, 12 Feb 2011 02:55:08 +0200 Subject: [PATCH] Actually, that check is not needed at all. If we're holding a weapon we can reload, it means we're already reloading it, which means it's already being checked :) --- qcsrc/server/bot/havocbot/havocbot.qc | 1 - 1 file changed, 1 deletion(-) diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index 788088e70..34db488b1 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -161,7 +161,6 @@ void havocbot_ai() // the code above executes next frame, starting the reloading then if(skill >= 5) // bots can only look for unloaded weapons past this skill if(self.clip_load >= 0) // only if we're not reloading a weapon already - if not(self.clip_load < self.clip_size && self.(self.current_ammo)) // we're already holding a weapon we can reload, don't look for another { for(i = WEP_FIRST; i <= WEP_LAST; ++i) { -- 2.39.2