mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Item use check
This commit is contained in:
@@ -56,6 +56,9 @@ bool FollowAction::isUseful()
|
||||
return false;
|
||||
}
|
||||
Formation* formation = AI_VALUE(Formation*, "formation");
|
||||
if (!formation) {
|
||||
return false;
|
||||
}
|
||||
std::string const target = formation->GetTargetName();
|
||||
|
||||
Unit* fTarget = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user