From 7c732b44b6d4d8ad389ba4e749ae2eae752cc905 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 24 Dec 2015 09:59:04 +1000 Subject: [PATCH] Fix compile --- qcsrc/server/bot/havocbot/havocbot.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index 088ac899c..e166f8b58 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -173,7 +173,7 @@ void havocbot_ai() { FOREACH(Weapons, it != WEP_Null, LAMBDA( if((self.weapons & (it.m_wepset)) && (it.spawnflags & WEP_FLAG_RELOADABLE) && (self.weapon_load[it.m_id] < it.reloading_ammo)) - PS(self).m_switchweapon = it.m_id; + PS(self).m_switchweapon = it; )); } } -- 2.39.2