diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index 90d511e3..e91dbbfa 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -1879,7 +1879,7 @@ bool PlayerbotAI::HasAura(std::string const name, Unit* unit, bool maxStack, boo return false; } -bool PlayerbotAI::HasAura(uint32 spellId, Unit const* unit) +bool PlayerbotAI::HasAura(uint32 spellId, Unit const* unit) { if (!spellId || !unit) return false; diff --git a/src/PlayerbotAIBase.cpp b/src/PlayerbotAIBase.cpp index 034015fb..6e82f7f4 100644 --- a/src/PlayerbotAIBase.cpp +++ b/src/PlayerbotAIBase.cpp @@ -42,8 +42,8 @@ void PlayerbotAIBase::IncreaseNextCheckDelay(uint32 delay) { nextAICheckDelay += delay; - if (nextAICheckDelay > sPlayerbotAIConfig->globalCoolDown) - LOG_DEBUG("playerbots", "increase next check delay: {}", nextAICheckDelay); + // if (nextAICheckDelay > sPlayerbotAIConfig->globalCoolDown) + // LOG_DEBUG("playerbots", "increase next check delay: {}", nextAICheckDelay); } bool PlayerbotAIBase::CanUpdateAI()