diff options
Diffstat (limited to 'src/KingSystem/Physics/System/physSystemData.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physSystemData.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physSystemData.cpp b/src/KingSystem/Physics/System/physSystemData.cpp index 9280e5f5..825edf69 100644 --- a/src/KingSystem/Physics/System/physSystemData.cpp +++ b/src/KingSystem/Physics/System/physSystemData.cpp @@ -135,6 +135,8 @@ agl::utl::ResParameterArchive SystemData::loadLayerTableRes(const SystemData::La case ContactLayerType::Sensor: path = "Physics/System/SensorLayerTable.bphyslayer"; break; + case ContactLayerType::Invalid: + break; } const auto& resource = *matrix.mResHandle->load(path, &request); auto* direct_resource = sead::DynamicCast<const sead::DirectResource>(&resource); @@ -170,6 +172,8 @@ agl::utl::ResParameterArchive SystemData::loadContactInfoTableRes(ContactLayerTy case ContactLayerType::Sensor: path = "Physics/System/SensorContactInfoTable.bphyscontact"; break; + case ContactLayerType::Invalid: + break; } /// @bug Possible bug? The request is never used. const auto& resource = *mContactInfoTableHandles[int(type)]->load(path, nullptr); |
