mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Warning fix + ilvl function fix (#1210)
* 1 variable order warning fixed 70 unused variable warning fixed * Fixed GetEquipGearScore function --------- Co-authored-by: Julien MAS <julien.mas81@gmail.com>
This commit is contained in:
@@ -629,9 +629,9 @@ std::string const PlayerbotHolder::ProcessBotCommand(std::string const cmd, Obje
|
||||
return "bot system is disabled";
|
||||
|
||||
uint32 botAccount = sCharacterCache->GetCharacterAccountIdByGuid(guid);
|
||||
bool isRandomBot = sRandomPlayerbotMgr->IsRandomBot(guid.GetCounter());
|
||||
bool isRandomAccount = sPlayerbotAIConfig->IsInRandomAccountList(botAccount);
|
||||
bool isMasterAccount = (masterAccountId == botAccount);
|
||||
//bool isRandomBot = sRandomPlayerbotMgr->IsRandomBot(guid.GetCounter()); //not used, line marked for removal.
|
||||
//bool isRandomAccount = sPlayerbotAIConfig->IsInRandomAccountList(botAccount); //not used, shadowed, line marked for removal.
|
||||
//bool isMasterAccount = (masterAccountId == botAccount); //not used, line marked for removal.
|
||||
|
||||
if (cmd == "add" || cmd == "addaccount" || cmd == "login")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user