mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
rollback reactDelay
This commit is contained in:
parent
d5f0553b53
commit
034934a034
@ -54,7 +54,7 @@ bool PlayerbotAIBase::CanUpdateAI()
|
|||||||
void PlayerbotAIBase::YieldThread(bool delay)
|
void PlayerbotAIBase::YieldThread(bool delay)
|
||||||
{
|
{
|
||||||
if (nextAICheckDelay < sPlayerbotAIConfig->reactDelay)
|
if (nextAICheckDelay < sPlayerbotAIConfig->reactDelay)
|
||||||
nextAICheckDelay = delay ? sPlayerbotAIConfig->reactDelay * 10 : sPlayerbotAIConfig->reactDelay * 5;
|
nextAICheckDelay = delay ? sPlayerbotAIConfig->reactDelay * 10 : sPlayerbotAIConfig->reactDelay;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PlayerbotAIBase::IsActive()
|
bool PlayerbotAIBase::IsActive()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user