summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physShapeParam.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-04-23 19:45:14 +0200
committerLéo Lam <leo@leolam.fr>2021-04-23 19:45:14 +0200
commitc6630576bb64050852c3bef061ae815caab2aecb (patch)
treeff2758b3e6b6197318071dcb2a8b48ee32e2cc3a /src/KingSystem/Physics/System/physShapeParam.cpp
parent97e9bad1af76c4acabb8a33404944ac1bc3d707a (diff)
Simplify agl::utl::IParameterObj::applyResParameterObj calls
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;