diff options
| author | Léo Lam <leo@leolam.fr> | 2022-12-20 19:22:02 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-12-20 19:23:54 +0100 |
| commit | 27ef71eff72e1ca889f786f226c9fbd93540e724 (patch) | |
| tree | 8343c4faa63c937b30e458c7c7ce24c9f0e9dce5 /src/KingSystem/Physics/System/physInstanceSet.cpp | |
| parent | d1d4bf3c2947ec20a650d3e18825e8a85df81a63 (diff) | |
ksys/phys: Rename RagdollController to RagdollInstance
RagdollController is a different thing!
Diffstat (limited to 'src/KingSystem/Physics/System/physInstanceSet.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physInstanceSet.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/KingSystem/Physics/System/physInstanceSet.cpp b/src/KingSystem/Physics/System/physInstanceSet.cpp index 6e5269c8..5054c2ec 100644 --- a/src/KingSystem/Physics/System/physInstanceSet.cpp +++ b/src/KingSystem/Physics/System/physInstanceSet.cpp @@ -1,6 +1,6 @@ #include "KingSystem/Physics/System/physInstanceSet.h" #include "KingSystem/Physics/CharacterController/physCharacterController.h" -#include "KingSystem/Physics/Ragdoll/physRagdollController.h" +#include "KingSystem/Physics/Ragdoll/physRagdollInstance.h" #include "KingSystem/Physics/RigidBody/physRigidBodySet.h" #include "KingSystem/Physics/System/physCollisionInfo.h" #include "KingSystem/Physics/System/physContactPointInfo.h" @@ -103,8 +103,8 @@ void InstanceSet::sub_7100FBACE0(phys::ContactLayer layer) { if (sensor) return; - if (mRagdollController != nullptr) - mRagdollController->disableContactLayer(layer); + if (mRagdollInstance != nullptr) + mRagdollInstance->disableContactLayer(layer); if (mCharacterController != nullptr) mCharacterController->disableContactLayer(layer); @@ -114,8 +114,8 @@ void InstanceSet::sub_7100FBAD74() { for (auto& rb : mRigidBodySets) { rb.disableAllContactLayers(); } - if (mRagdollController != nullptr) { - mRagdollController->setContactNone(); + if (mRagdollInstance != nullptr) { + mRagdollInstance->setContactNone(); } if (mCharacterController != nullptr) { mCharacterController->sub_7100F60604(); @@ -189,10 +189,10 @@ void InstanceSet::sub_7100FBD284(const sead::Matrix34f& mtx) { } mFlags.reset(Flag::_80000000); - if (mRagdollController == nullptr) + if (mRagdollInstance == nullptr) return; - if (mRagdollController->getWorldState() == RagdollController::WorldState::AddedToWorld) + if (mRagdollInstance->getWorldState() == RagdollInstance::WorldState::AddedToWorld) sub_7100FBC890(mtx, false, false); } |
