]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add reminder
authorSamual Lenks <samual@xonotic.org>
Mon, 9 Dec 2013 06:37:12 +0000 (01:37 -0500)
committerSamual Lenks <samual@xonotic.org>
Mon, 9 Dec 2013 06:37:12 +0000 (01:37 -0500)
qcsrc/server/bot/havocbot/havocbot.qc

index 433fce385348ad2068a86bb9afa5feceb4fe8cd8..5112d1825fcc26d17bbf462f0e13422cb94093a2 100644 (file)
@@ -164,7 +164,7 @@ void havocbot_ai()
                        for(i = WEP_FIRST; i <= WEP_LAST; ++i)
                        {
                                e = get_weaponinfo(i);
-                               if ((self.weapons & WepSet_FromWeapon(i)) && (e.spawnflags & WEP_FLAG_RELOADABLE) && (self.weapon_load[i] < cvar(strcat("g_balance_", e.netname, "_reload_ammo"))))
+                               if ((self.weapons & WepSet_FromWeapon(i)) && (e.spawnflags & WEP_FLAG_RELOADABLE) && (self.weapon_load[i] < cvar(strcat("g_balance_", e.netname, "_reload_ammo")))) // WEAPONTODO
                                        self.switchweapon = i;
                        }
                }