summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actAiQuery.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-09 20:50:30 +0100
committerLéo Lam <leo@leolam.fr>2020-12-09 20:51:14 +0100
commite9cf0968194c1da39602f2c693e1dfaee138b0fe (patch)
treef5b399449bba4bf4bbbcb9e6177febb713c6daee /src/KingSystem/ActorSystem/actAiQuery.cpp
parent930b780cd1513e1dd92bc114cde58adb552159a6 (diff)
ksys/act: Rename Query::preInit -> loadParams
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);
}
}