From 6ab4a676c253f42cde3b7403210152bfe908096a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Thu, 2 Aug 2018 15:43:18 +0200 Subject: [PATCH] Fix deprecation warning --- SDK/include/NDK/Components/PhysicsComponent2D.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDK/include/NDK/Components/PhysicsComponent2D.inl b/SDK/include/NDK/Components/PhysicsComponent2D.inl index 3105a85ea..bd550c41b 100644 --- a/SDK/include/NDK/Components/PhysicsComponent2D.inl +++ b/SDK/include/NDK/Components/PhysicsComponent2D.inl @@ -171,7 +171,7 @@ namespace Ndk { NazaraAssert(m_object, "Invalid physics object"); - return m_object->GetCenterOfGravity(coordSys); + return m_object->GetMassCenter(coordSys); } /*!