From ba2d81b7b844559a886d0fb451c6c5b74343e253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 5 Mar 2022 17:22:12 +0100 Subject: ksys/phys: Implement ContactMgr functions used by ContactListener --- src/KingSystem/Physics/System/physSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/KingSystem/Physics/System/physSystem.cpp') diff --git a/src/KingSystem/Physics/System/physSystem.cpp b/src/KingSystem/Physics/System/physSystem.cpp index bfad9d89..15d13578 100644 --- a/src/KingSystem/Physics/System/physSystem.cpp +++ b/src/KingSystem/Physics/System/physSystem.cpp @@ -50,7 +50,7 @@ void System::initSystemData(sead::Heap* heap) { ContactPointInfo* System::allocContactPointInfo(sead::Heap* heap, int num, const sead::SafeString& name, int a, int b, int c) const { - return mContactMgr->allocContactPoints(heap, num, name, a, b, c); + return mContactMgr->makeContactPointInfo(heap, num, name, a, b, c); } void System::freeContactPointInfo(ContactPointInfo* info) const { @@ -60,7 +60,7 @@ void System::freeContactPointInfo(ContactPointInfo* info) const { LayerContactPointInfo* System::allocLayerContactPointInfo(sead::Heap* heap, int num, int num2, const sead::SafeString& name, int a, int b, int c) const { - return mContactMgr->allocContactPointsEx(heap, num, num2, name, a, b, c); + return mContactMgr->makeLayerContactPointInfo(heap, num, num2, name, a, b, c); } void System::registerContactPointInfo(ContactPointInfo* info) const { -- cgit v1.2.3