summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/Cloth/physClothParam.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/Cloth/physClothParam.cpp
parent97e9bad1af76c4acabb8a33404944ac1bc3d707a (diff)
Simplify agl::utl::IParameterObj::applyResParameterObj calls
Diffstat (limited to 'src/KingSystem/Physics/Cloth/physClothParam.cpp')
-rw-r--r--src/KingSystem/Physics/Cloth/physClothParam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/Cloth/physClothParam.cpp b/src/KingSystem/Physics/Cloth/physClothParam.cpp
index f8ec69aa..79acffb6 100644
--- a/src/KingSystem/Physics/Cloth/physClothParam.cpp
+++ b/src/KingSystem/Physics/Cloth/physClothParam.cpp
@@ -17,7 +17,7 @@ bool ClothSetParam::parse(const agl::utl::ResParameterList& res_list, sead::Heap
if (!res_list)
return false;
- cloth_header_obj.applyResParameterObj(res_list.getResParameterObj(0), nullptr);
+ cloth_header_obj.applyResParameterObj(res_list.getResParameterObj(0));
const int num_cloths = cloth_num.ref();
if (num_cloths <= 0)