diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-23 16:54:18 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-01-23 17:00:44 +0100 |
| commit | a33ebd2130c4bf9db26dff640503c2e0f82fe7e0 (patch) | |
| tree | 75221b76e417bdd54694add31a79cd6ad815e5fc /src/KingSystem/Physics/System/physSystem.cpp | |
| parent | bf09eea7a87e7b5410d48650c0aa18a6c25cf45d (diff) | |
ksys/phys: Introduce {First,Last}{Entity,Sensor} constants to improve clarity
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physSystem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.cpp b/src/KingSystem/Physics/System/physSystem.cpp index df841497..ad87f567 100644 --- a/src/KingSystem/Physics/System/physSystem.cpp +++ b/src/KingSystem/Physics/System/physSystem.cpp @@ -31,9 +31,8 @@ void System::initSystemData(sead::Heap* heap) { res::registerEntryFactory(new (heap) res::EntryFactory<RagdollControllerKeyList>(1.0, 0x4000), "brgcon"); - mEntityGroupFilter = EntityGroupFilter::make(ContactLayer::EntityObject, - ContactLayer::EntityMeshVisualizer, heap); - mSensorGroupFilter = SensorGroupFilter::make(ContactLayer::SensorCustomReceiver, heap); + mEntityGroupFilter = EntityGroupFilter::make(FirstEntity, LastEntity, heap); + mSensorGroupFilter = SensorGroupFilter::make(LastSensor, heap); mGroupFilters.pushBack(mEntityGroupFilter); mGroupFilters.pushBack(mSensorGroupFilter); |
