mirror of
https://github.com/zeldaret/botw
synced 2026-06-20 15:41:19 -04:00
ksys/phys: Rename some variables that were missed in 60e2b166
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user