summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-05 17:22:12 +0100
committerLéo Lam <leo@leolam.fr>2022-03-05 19:34:01 +0100
commitba2d81b7b844559a886d0fb451c6c5b74343e253 (patch)
tree4297488a92328f4d625da92433ac600ff2db357f /src/KingSystem/Physics/System/physSystem.cpp
parent88a0a9eb691a3c1925e9b5d185fb12550618e5f8 (diff)
ksys/phys: Implement ContactMgr functions used by ContactListener
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.cpp')
-rw-r--r--src/KingSystem/Physics/System/physSystem.cpp4
1 files changed, 2 insertions, 2 deletions
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 {