summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physShapeParam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/Physics/System/physShapeParam.cpp')
-rw-r--r--src/KingSystem/Physics/System/physShapeParam.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Physics/System/physShapeParam.cpp b/src/KingSystem/Physics/System/physShapeParam.cpp
index 31a743d6..b6aae2a5 100644
--- a/src/KingSystem/Physics/System/physShapeParam.cpp
+++ b/src/KingSystem/Physics/System/physShapeParam.cpp
@@ -20,7 +20,7 @@ ShapeParam::~ShapeParam() {
bool ShapeParam::parse(const agl::utl::ResParameterObj& res_obj, sead::Heap* heap) {
vertices.freeBuffer();
- applyResParameterObj(res_obj, nullptr);
+ applyResParameterObj(res_obj);
const int num_vertices = vertex_num.ref();
if (num_vertices > 0) {
@@ -30,7 +30,7 @@ bool ShapeParam::parse(const agl::utl::ResParameterObj& res_obj, sead::Heap* hea
vertices[i].init(sead::Vector3f::zero, name, "頂点", this);
}
- applyResParameterObj(res_obj, nullptr);
+ applyResParameterObj(res_obj);
}
return true;