Core/Entities: remove grid-wide visibility from setActive and implement another method for it
Port From (https://github.com/TrinityCore/TrinityCore/commit/8713a623283b4d0e414a97b566854c1b21e8754b)
This commit is contained in:
@@ -681,6 +681,7 @@ namespace Game.BattleFields
|
||||
// Set creature in world
|
||||
m_Map.AddToMap(creature);
|
||||
creature.SetActive(true);
|
||||
creature.SetFarVisible(true);
|
||||
|
||||
return creature;
|
||||
}
|
||||
@@ -705,6 +706,7 @@ namespace Game.BattleFields
|
||||
// Add to world
|
||||
m_Map.AddToMap(go);
|
||||
go.SetActive(true);
|
||||
go.SetFarVisible(true);
|
||||
|
||||
return go;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user