summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physInstanceSet.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-22 22:41:04 +0100
committerLéo Lam <leo@leolam.fr>2022-03-22 23:14:19 +0100
commitf3308d7bee2ba3a4d64a142e7a29a575243b3e4a (patch)
tree8a6eec8ab659e74bcc2efbfe167df01630fd0378 /src/KingSystem/Physics/System/physInstanceSet.cpp
parentc97cf995efbcee49cdda4f4b4cb4921f63670f3f (diff)
ksys/phys: Rename some RigidBody flags (add/remove from world)
Diffstat (limited to 'src/KingSystem/Physics/System/physInstanceSet.cpp')
-rw-r--r--src/KingSystem/Physics/System/physInstanceSet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Physics/System/physInstanceSet.cpp b/src/KingSystem/Physics/System/physInstanceSet.cpp
index 6be16311..37ca09db 100644
--- a/src/KingSystem/Physics/System/physInstanceSet.cpp
+++ b/src/KingSystem/Physics/System/physInstanceSet.cpp
@@ -81,11 +81,11 @@ u32 InstanceSet::sub_7100FB9C2C() const {
void InstanceSet::sub_7100FBA9BC() {
for (auto& rb : mRigidBodySets) {
- rb.callRigidBody_x_0();
+ rb.addToWorld();
}
for (auto& body : mList) {
- body->x_0();
+ body->addToWorld();
}
if (mCollisionController != nullptr)