summaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorAetias <144526980+AetiasHax@users.noreply.github.com>2025-07-25 15:59:54 +0200
committerGitHub <noreply@github.com>2025-07-25 15:59:54 +0200
commit8ad6359c7d3c7afcbddd7d450b7fa4b9764255b6 (patch)
tree09095f8f36375fe4bb358c163d614ebfbc8fe344 /src/Main
parentdda45d5574798dc45a31437f473eaa55b9142e13 (diff)
ActorSwitchObject OK (#130)
* Map symbol in Game * ActorSwitchObject OK * Mark ActorSwitchObject as complete * Document `mTrapActors` * Fix FilterActorBase * Fix regressions
Diffstat (limited to 'src/Main')
-rw-r--r--src/Main/Message/MessageManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Main/Message/MessageManager.cpp b/src/Main/Message/MessageManager.cpp
index bf1e30ca..f50dce30 100644
--- a/src/Main/Message/MessageManager.cpp
+++ b/src/Main/Message/MessageManager.cpp
@@ -237,7 +237,6 @@ ARM void MessageManager::func_0203690c(unk32 param_2) {
UnkStruct_020397f8 *unk_28_0;
UnkStruct_020397f8 *unk_28_2;
UnkStruct_02038aa0 *pSVar4;
- ActorRef actorRef;
Actor *pActor;
bool iVar1;
bool iVar2;
@@ -319,8 +318,8 @@ ARM void MessageManager::func_0203690c(unk32 param_2) {
this->func_02036bbc();
if (this->mUnk_10 != 0) {
- ActorManager::FindActorByType(&actorRef, gActorManager, data_0205691c[this->mUnk_10]);
- pActor = gActorManager->GetActor(&actorRef);
+ ActorRef actorRef = gActorManager->FindActorByType(data_0205691c[this->mUnk_10]);
+ pActor = gActorManager->GetActor(&actorRef);
if (pActor != NULL) {
data_027e0ffc.func_ov000_020cec60(data_02056918[this->mUnk_10], &pActor->mPos, pActor, 0);