mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
engine depth
This commit is contained in:
parent
3b85e3e4b9
commit
0437d73eb9
@ -261,8 +261,9 @@ bool Engine::DoNextAction(Unit* unit, uint32 depth, bool minimal)
|
||||
lastRelevance = 0.0f;
|
||||
PushDefaultActions();
|
||||
|
||||
// if (queue.Peek() && depth < 1 && !minimal)
|
||||
// return DoNextAction(unit, depth + 1, minimal);
|
||||
// prevent the delay after pushing default actions
|
||||
if (queue.Peek() && depth < 1 && !minimal)
|
||||
return DoNextAction(unit, depth + 1, minimal);
|
||||
}
|
||||
|
||||
// MEMORY FIX TEST
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user