diff options
| author | Aetias <aetias@outlook.com> | 2025-07-01 22:36:29 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2025-07-01 22:36:29 +0200 |
| commit | 67c7707657bc509e7a534ad74eaf0d513feb861f (patch) | |
| tree | 5506b6a43e75e45bcb3df60057dfddbb36e4e272 /src/00_Core/Actor/ActorSpawner.cpp | |
| parent | fc678172685705dfbbd6ce264331a14bd0b4ba9c (diff) | |
| parent | d90d96dca48177a841e7f76101343125debb594a (diff) | |
Merge remote-tracking branch 'zeldaret/main' into hammer
Diffstat (limited to 'src/00_Core/Actor/ActorSpawner.cpp')
| -rw-r--r-- | src/00_Core/Actor/ActorSpawner.cpp | 4 |
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; |
