From c6630576bb64050852c3bef061ae815caab2aecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Fri, 23 Apr 2021 19:45:14 +0200 Subject: Simplify agl::utl::IParameterObj::applyResParameterObj calls --- src/KingSystem/Physics/System/physShapeParam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/KingSystem/Physics/System/physShapeParam.cpp') 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; -- cgit v1.2.3