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