summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystemData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/Physics/System/physSystemData.cpp')
-rw-r--r--src/KingSystem/Physics/System/physSystemData.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/KingSystem/Physics/System/physSystemData.cpp b/src/KingSystem/Physics/System/physSystemData.cpp
index 319bb98e..d21af924 100644
--- a/src/KingSystem/Physics/System/physSystemData.cpp
+++ b/src/KingSystem/Physics/System/physSystemData.cpp
@@ -1,5 +1,5 @@
#include "KingSystem/Physics/System/physSystemData.h"
-#include "KingSystem/Physics/System/physContactInfoTable.h"
+#include "KingSystem/Physics/System/physContactMgr.h"
#include "KingSystem/Physics/System/physGroupFilter.h"
#include "KingSystem/Physics/System/physMaterialTable.h"
#include "KingSystem/Physics/System/physRagdollControllerKeyList.h"
@@ -39,7 +39,7 @@ SystemData::~SystemData() {
void SystemData::load(sead::Heap* heap, GroupFilter* entity_group_filter,
GroupFilter* sensor_group_filter, MaterialTable* material_table,
- ContactInfoTable* contact_info_table) {
+ ContactMgr* contact_info_table) {
loadLayerTable(heap, entity_group_filter, ContactLayerType::Entity);
loadLayerTable(heap, sensor_group_filter, ContactLayerType::Sensor);
loadMaterialTable(heap, material_table);
@@ -90,11 +90,10 @@ void SystemData::loadSubMaterialTable(sead::Heap* heap, MaterialTable* table) {
table->loadSubMaterialTable(heap, res);
}
-void SystemData::loadContactInfoTable(sead::Heap* heap, ContactInfoTable* table,
- ContactLayerType type) {
+void SystemData::loadContactInfoTable(sead::Heap* heap, ContactMgr* table, ContactLayerType type) {
mContactInfoTableHandles[int(type)] = new (heap) res::Handle;
const auto res = loadContactInfoTableRes(type);
- table->load(heap, res, type);
+ table->loadContactInfoTable(heap, res, type);
}
void SystemData::loadCharacterCtrlTable(sead::Heap* heap) {