Fix deprecation warning
This commit is contained in:
parent
b92e23fcd6
commit
6ab4a676c2
|
|
@ -171,7 +171,7 @@ namespace Ndk
|
||||||
{
|
{
|
||||||
NazaraAssert(m_object, "Invalid physics object");
|
NazaraAssert(m_object, "Invalid physics object");
|
||||||
|
|
||||||
return m_object->GetCenterOfGravity(coordSys);
|
return m_object->GetMassCenter(coordSys);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue