Compare commits

..

No commits in common. "f874d2c79ebf179795b3a5fd2fd7d58d0ba7ac6b" and "e693b208bed69267f859b6947b416419b0c64b76" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ void LoadListString(std::string const value, T& list)
bool PlayerbotAIConfig::Initialize()
{
LOG_INFO("server.loading", "Initializing mod-playerbots, based on AI Playerbots by ike3 and the original Playerbots by blueboy");
LOG_INFO("server.loading", "Initializing mod-playerbots, based on AI Playerbots by ike and the original Playerbots by blueboy");
enabled = sConfigMgr->GetOption<bool>("AiPlayerbot.Enabled", true);
if (!enabled)

View File

@ -102,7 +102,7 @@ std::vector<CreatureData const*> BgMastersValue::Calculate()
}
}
return bmGuids;
return std::move(bmGuids);
}
CreatureData const* BgMasterValue::Calculate()
@ -120,7 +120,7 @@ CreatureData const* BgMasterValue::NearestBm(bool allowDead)
std::vector<CreatureData const*> bmPairs = AI_VALUE2(std::vector<CreatureData const*>, "bg masters", qualifier);
float rDist = 0.0f;
float rDist;
CreatureData const* rbmPair = nullptr;
for (auto& bmPair : bmPairs)