Core/GameObject: Removed unneeded argument from GameObjectModel::Relocate and renamed it to UpdatePosition

(cherry picked from commit 6e9ab38fcc9d2859393e452ef8630ee420783e47)
This commit is contained in:
Shauren authored and DDuarte committed 2015-06-26 00:53:12 +01:00
1 parent a8d8976e2c
commit 5fe819462f
3 files changed
+7 -7

No files matched your search

@@ -2317,7 +2317,7 @@ void GameObject::UpdateModelPosition()
if (GetMap()->ContainsGameObjectModel(*m_model))
{
GetMap()->RemoveGameObjectModel(*m_model);
m_model->Relocate(*this);
m_model->UpdatePosition();
GetMap()->InsertGameObjectModel(*m_model);
}
}