summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actASSetting.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-04-11 14:31:55 +0200
committerLéo Lam <leo@leolam.fr>2021-04-11 15:54:21 +0200
commit73637128659db7df2f332ea3d3285d07abf25f4f (patch)
treed86c4f4d9cfe325f04e466f6e1850ec7d81571fe /src/KingSystem/ActorSystem/actASSetting.cpp
parent225ee27b41ae3e74cf0242108c6fc4df291c1987 (diff)
ksys/res: Finish implementing ASExtensions
Diffstat (limited to 'src/KingSystem/ActorSystem/actASSetting.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actASSetting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/ActorSystem/actASSetting.cpp b/src/KingSystem/ActorSystem/actASSetting.cpp
index 0202a85c..7c3d82e2 100644
--- a/src/KingSystem/ActorSystem/actASSetting.cpp
+++ b/src/KingSystem/ActorSystem/actASSetting.cpp
@@ -16,12 +16,12 @@ void ASSetting::init(const sead::SafeString& config_path) {
}
// NON_MATCHING: sead::DirectResource to res::ASSetting cast nullptr check; branching for the return
-const res::ASSetting::BoneParams* ASSetting::getBoneParams(const sead::SafeString& key) const {
+res::ASParamParser* ASSetting::getBoneParams(const sead::SafeString& key) const {
auto* res = sead::DynamicCast<res::ASSetting>(mHandle.getResource());
if (!res)
return nullptr;
- for (const auto& bones : res->getBlenderBones()) {
+ for (auto& bones : res->getBlenderBones()) {
if (key == bones.mKeyName.ref())
return &bones.mBoneParams;
}