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:
hondacrx
2021-08-08 23:31:06 -04:00
parent dac2b45ab8
commit da5eb28902
2 changed files with 21 additions and 8 deletions
+2
View File
@@ -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;
}