Is in real guild function

This commit is contained in:
郑佩茹
2022-09-22 16:46:39 -06:00
parent c2553dff76
commit fccfcb7266
3 changed files with 19 additions and 6 deletions

View File

@@ -50,10 +50,7 @@ bool PlayerbotAIBase::CanUpdateAI()
void PlayerbotAIBase::YieldThread(bool delay)
{
if (nextAICheckDelay < sPlayerbotAIConfig->reactDelay)
nextAICheckDelay = sPlayerbotAIConfig->reactDelay;
if (delay && nextAICheckDelay <= sPlayerbotAIConfig->reactDelay * 10)
nextAICheckDelay = sPlayerbotAIConfig->reactDelay * 10;
nextAICheckDelay = delay ? sPlayerbotAIConfig->reactDelay * 10 : sPlayerbotAIConfig->reactDelay;
}
bool PlayerbotAIBase::IsActive()