mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
nearest corpses
This commit is contained in:
@@ -15,7 +15,7 @@ class AnyDeadUnitInObjectRangeCheck
|
||||
WorldObject const& GetFocusObject() const { return *i_obj; }
|
||||
bool operator()(Unit* u)
|
||||
{
|
||||
return !u->IsAlive() && i_obj->IsWithinDistInMap(u, i_range);
|
||||
return !u->IsAlive();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user