ksys/phys: Rename some variables that were missed in 60e2b166

This commit is contained in:
Léo Lam 2022-01-30 02:21:42 +01:00
parent 60e2b1664f
commit 682897091a
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 4 additions and 4 deletions

View File

@ -40,8 +40,8 @@ RigidBody* RigidBodyFactory::createWaterCylinder(RigidBodyInstanceParam* params,
params->motion_type = MotionType::Keyframed;
auto* v = sead::DynamicCast<WaterCylinderParam>(params);
auto* body = v->shape.createShape(heap);
return body->createBody(1, *params, heap);
auto* shape = v->shape.createShape(heap);
return shape->createBody(1, *params, heap);
}
RigidBody* RigidBodyFactory::createBox(RigidBodyInstanceParam* params, sead::Heap* heap) {
@ -49,8 +49,8 @@ RigidBody* RigidBodyFactory::createBox(RigidBodyInstanceParam* params, sead::Hea
params->motion_type = MotionType::Keyframed;
auto* v = sead::DynamicCast<BoxParam>(params);
auto* body = v->shape.createShape(heap);
return body->createBody(1, *params, heap);
auto* shape = v->shape.createShape(heap);
return shape->createBody(1, *params, heap);
}
} // namespace ksys::phys