Core/Transports: Enabled LoS on transports
This commit is contained in:
1 parent
3a1a55bb0a
commit
550cbcad96
6 files changed
+71
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user