]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Actually, that check is not needed at all. If we're holding a weapon we can reload...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 12 Feb 2011 00:55:08 +0000 (02:55 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 12 Feb 2011 00:55:08 +0000 (02:55 +0200)
qcsrc/server/bot/havocbot/havocbot.qc

index 788088e708e8acbe5a9b31d34052ae60d4248bac..34db488b134b51b064ba44ba0fce9efd0c198895 100644 (file)
@@ -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)
                        {