fix(Core/Visibility): Fix visibility issue at sight limit (#22830)
This commit is contained in:
parent
96f8149e0e
commit
f191d71193
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ void VisibleNotifier::SendToSelf()
|
|||
for (VisibleWorldObjectsMap::iterator itr = visibleWorldObjects->begin(); itr != visibleWorldObjects->end();)
|
||||
{
|
||||
WorldObject* obj = itr->second;
|
||||
if (!i_player.IsWorldObjectOutOfSightRange(obj))
|
||||
if (!i_player.IsWorldObjectOutOfSightRange(obj)
|
||||
|| i_player.CanSeeOrDetect(obj, false, true))
|
||||
{
|
||||
++itr;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue