mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 23:38:54 -04:00
Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
This commit is contained in:
@@ -6527,7 +6527,7 @@ void Unit::AddPlayerToVision(Player* player)
|
||||
if (m_sharedVision.empty())
|
||||
{
|
||||
setActive(true);
|
||||
SetWorldObject(true);
|
||||
SetIsStoredInWorldObjectGridContainer(true);
|
||||
}
|
||||
m_sharedVision.push_back(player);
|
||||
}
|
||||
@@ -6539,7 +6539,7 @@ void Unit::RemovePlayerFromVision(Player* player)
|
||||
if (m_sharedVision.empty())
|
||||
{
|
||||
setActive(false);
|
||||
SetWorldObject(false);
|
||||
SetIsStoredInWorldObjectGridContainer(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user