mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Core/Visibility): Visibility should be using 2d distance checks (#22839)
This commit is contained in:
@@ -16327,7 +16327,7 @@ bool Player::IsWorldObjectOutOfSightRange(WorldObject const* target) const
|
||||
}
|
||||
|
||||
// Check if out of range
|
||||
return !m_seer->IsWithinDist(target, GetSightRange(target), true);
|
||||
return !m_seer->IsWithinDist(target, GetSightRange(target), false);
|
||||
}
|
||||
|
||||
std::string Player::GetPlayerName()
|
||||
|
||||
Reference in New Issue
Block a user