Core/TempSummons: avoid use MoveInLineOfSight before InitSummon (#20999)

This commit is contained in:
EricksOliveira 2024-12-22 08:03:28 +00:00 committed by GitHub
parent ebf7f7583b
commit 2110f7cc84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 2 deletions

View file

@ -561,7 +561,7 @@ bool Map::AddToMap(T* obj, bool checkTransport)
if (obj->IsInWorld())
{
ASSERT(obj->IsInGrid());
obj->UpdateObjectVisibility(true);
obj->UpdateObjectVisibilityOnCreate();
return true;
}