summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actASSetting.cpp
diff options
context:
space:
mode:
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;
}