diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-12 16:03:03 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-11-14 21:06:08 +0100 |
| commit | ffe38d0076fd487bae46edd092171469ec08d439 (patch) | |
| tree | 16c4f06dc454e2c81d67133355184022397198d6 /src/KingSystem/ActorSystem/actActorParam.cpp | |
| parent | d9356ffa90f2b6c819b00bfc7905763aea8c39bc (diff) | |
ksys/act: Implement more ActorParamMgr functions
Diffstat (limited to 'src/KingSystem/ActorSystem/actActorParam.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorParam.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/KingSystem/ActorSystem/actActorParam.cpp b/src/KingSystem/ActorSystem/actActorParam.cpp index 639f6b3f..dbe2096e 100644 --- a/src/KingSystem/ActorSystem/actActorParam.cpp +++ b/src/KingSystem/ActorSystem/actActorParam.cpp @@ -49,8 +49,8 @@ void ActorParam::deleteResHandles() { handles.freeBuffer(); } -bool ActorParam::isDummyParam(res::ActorLink::Users::User user) const { - return mRes.mActorLink->getUsers().getUserName(user) == "Dummy"; +bool ActorParam::isDummyParam(res::ActorLink::User user) const { + return sead::SafeString(mRes.mActorLink->getUserName(user)) == "Dummy"; } void ActorParam::allocResHandles(sead::Heap* heap, u32 buffer_idx, s32 count) { @@ -154,4 +154,6 @@ void ActorParam::setProfileAndPriority(const char* profile, const char* priority } } +void ActorParam::onLoadFinished(ActorParamMgr*) {} + } // namespace ksys::act |
