Core/Transports: Enabled LoS on transports

This commit is contained in:
Shauren committed 2014-03-23 00:23:30 +01:00
1 parent 3a1a55bb0a
commit 550cbcad96
6 files changed
+71 -9

No files matched your search

+2
View File
@@ -954,6 +954,7 @@ void Map::GameObjectRelocation(GameObject* go, float x, float y, float z, float
else
{
go->Relocate(x, y, z, orientation);
go->UpdateModelPosition();
go->UpdateObjectVisibility(false);
RemoveGameObjectFromMoveList(go);
}
@@ -1132,6 +1133,7 @@ void Map::MoveAllGameObjectsInMoveList()
{
// update pos
go->Relocate(go->_newPosition);
go->UpdateModelPosition();
go->UpdateObjectVisibility(false);
}
else