mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Fixed merge
This commit is contained in:
parent
af1e1d7794
commit
588edbcedb
4 changed files with 7 additions and 63 deletions
|
|
@ -738,7 +738,7 @@ bool GameObject::isVisibleForInState(Player const* u, bool inVisibleList) const
|
|||
}
|
||||
|
||||
// check distance
|
||||
return IsWithinDistInMap2d(u,World::GetMaxVisibleDistanceForObject() +
|
||||
return IsWithinDistInMap(u,World::GetMaxVisibleDistanceForObject() +
|
||||
(inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f), false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue