summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actAiQuery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/ActorSystem/actAiQuery.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actAiQuery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actAiQuery.cpp b/src/KingSystem/ActorSystem/actAiQuery.cpp
index 3ff02b07..d2259fd8 100644
--- a/src/KingSystem/ActorSystem/actAiQuery.cpp
+++ b/src/KingSystem/ActorSystem/actAiQuery.cpp
@@ -25,7 +25,7 @@ bool Query::init(sead::Heap* heap) {
mActor->getRootAi()->loadAITreeParams(set.ai_tree_params, heap) &&
(set.dynamic_params.num_params < 1 ||
mParamPack.load(*mActor, set.dynamic_params, heap, AIDefInstParamKind::Dynamic))) {
- preInit_();
+ loadParams();
return init_(heap);
}
}