summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physCharacterControllerParam.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/physCharacterControllerParam.cpp
parent97e9bad1af76c4acabb8a33404944ac1bc3d707a (diff)
Simplify agl::utl::IParameterObj::applyResParameterObj calls
Diffstat (limited to 'src/KingSystem/Physics/System/physCharacterControllerParam.cpp')
-rw-r--r--src/KingSystem/Physics/System/physCharacterControllerParam.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Physics/System/physCharacterControllerParam.cpp b/src/KingSystem/Physics/System/physCharacterControllerParam.cpp
index cb5311d8..64d3dc1b 100644
--- a/src/KingSystem/Physics/System/physCharacterControllerParam.cpp
+++ b/src/KingSystem/Physics/System/physCharacterControllerParam.cpp
@@ -46,7 +46,7 @@ bool CharacterControllerParam::parse(agl::utl::ResParameterList res_list, sead::
if (!res_list || res_list.getResParameterObjNum() < 1)
return false;
- obj.applyResParameterObj(res_list.getResParameterObj(0), nullptr);
+ obj.applyResParameterObj(res_list.getResParameterObj(0));
const int num_forms = *form_num;
if (num_forms < 0)
@@ -86,7 +86,7 @@ bool CharacterControllerParam::Form::parse(agl::utl::ResParameterList res_list,
if (!res_list || res_list.getResParameterObjNum() < 2)
return false;
- form_header_obj.applyResParameterObj(res_list.getResParameterObj(0), nullptr);
+ form_header_obj.applyResParameterObj(res_list.getResParameterObj(0));
const int num_shapes = *shape_num;
if (num_shapes < 1)