summaryrefslogtreecommitdiff
path: root/src/00_Core/Actor/ActorSpawner.cpp
diff options
context:
space:
mode:
authorAetias <144526980+AetiasHax@users.noreply.github.com>2025-07-01 22:23:38 +0200
committerGitHub <noreply@github.com>2025-07-01 22:23:38 +0200
commitd90d96dca48177a841e7f76101343125debb594a (patch)
tree7f3b9e29b404ede611e3a5412babc3b6f701b0e3 /src/00_Core/Actor/ActorSpawner.cpp
parentc8a54735a1fec7923159ade581c59a5806e49a02 (diff)
parentc1ec58c8b0b41652cd8a8564d710c76152868850 (diff)
Merge pull request #58 from SammygoodTunes/decomp/MapManager
Decomp `src/00_Core/Map/MapManager.cpp`
Diffstat (limited to 'src/00_Core/Actor/ActorSpawner.cpp')
-rw-r--r--src/00_Core/Actor/ActorSpawner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/00_Core/Actor/ActorSpawner.cpp b/src/00_Core/Actor/ActorSpawner.cpp
index 55cf1a57..fcf8b66b 100644
--- a/src/00_Core/Actor/ActorSpawner.cpp
+++ b/src/00_Core/Actor/ActorSpawner.cpp
@@ -68,8 +68,8 @@ ARM s32 ActorSpawner::Spawn(ActorTypeId type, Vec3p *pos, ActorSpawnOptions *opt
Actor *actor2 = *actorSlot;
actor2->mPos = *pos;
actor2->mPrevPos = *pos;
- (*actorSlot)->mUnk_010 = gMapManager->GetCourseData_Unk_1c();
- (*actorSlot)->mUnk_011 = gMapManager->GetCourseData_Unk_1d();
+ (*actorSlot)->mUnk_010 = gMapManager->GetCurrentMapPosX();
+ (*actorSlot)->mUnk_011 = gMapManager->GetCurrentMapPosY();
u16 nextIndex = index + 1;
if (actorManager->mMaxActorIndex < nextIndex) {
actorManager->mMaxActorIndex = nextIndex;