feat(Core/Visibility): Visibility improvements part 1 (#22624)
This commit is contained in:
parent
bde4e076ed
commit
1499aa51de
25 changed files with 456 additions and 296 deletions
|
|
@ -893,7 +893,7 @@ void GameObject::Update(uint32 diff)
|
|||
if (!m_spawnedByDefault)
|
||||
{
|
||||
m_respawnTime = 0;
|
||||
DestroyForNearbyPlayers(); // xinef: old UpdateObjectVisibility();
|
||||
DestroyForVisiblePlayers(); // xinef: old UpdateObjectVisibility();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -904,7 +904,7 @@ void GameObject::Update(uint32 diff)
|
|||
if (GetMap()->IsDungeon())
|
||||
SaveRespawnTime();
|
||||
|
||||
DestroyForNearbyPlayers(); // xinef: old UpdateObjectVisibility();
|
||||
DestroyForVisiblePlayers(); // xinef: old UpdateObjectVisibility();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue