From cc10cad03ad4cdb9c42974e1f037d18ef29adfc5 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Tue, 3 Oct 2023 21:13:38 +0800 Subject: [PATCH] PlayerbotAIConfig compile fix --- src/PlayerbotAIConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotAIConfig.cpp b/src/PlayerbotAIConfig.cpp index 95dd91fd..930d0019 100644 --- a/src/PlayerbotAIConfig.cpp +++ b/src/PlayerbotAIConfig.cpp @@ -589,7 +589,7 @@ std::vector> PlayerbotAIConfig::ParseTempTalentsOrder(uint32 } int lvl = tab_links[tab][i] - '0'; if (lvl == 0) continue; - orders[tab].push_back({tab, spells[tab][i]->Row, spells[tab][i]->Col, lvl}); + orders[tab].push_back({(uint32)tab, spells[tab][i]->Row, spells[tab][i]->Col, (uint32)lvl}); } } // sort by talent tab size