diff options
| author | Philip Dubé <serprex@users.noreply.github.com> | 2026-03-23 12:41:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-23 12:41:53 +0000 |
| commit | ccdd8e63ff8ca42a9eacf5b322a36f58e07de249 (patch) | |
| tree | 6c559f7c00dc6726f9c8be11efea9d012efcb10f /soh/src/code | |
| parent | 5f0c0c8e2f3c82e0abd120fb2289659cf6cd4b77 (diff) | |
Enemy rando: don't mutate ActorEntry (#6395)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_actor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_actor.c b/soh/src/code/z_actor.c index e999788a4..f0ca7c0cd 100644 --- a/soh/src/code/z_actor.c +++ b/soh/src/code/z_actor.c @@ -3471,7 +3471,7 @@ Actor* Actor_SpawnEntry(ActorContext* actorCtx, ActorEntry* actorEntry, PlayStat gMapLoading = 1; Actor* ret; - if (GameInteractor_Should(VB_SPAWN_ACTOR_ENTRY, true, actorCtx, actorEntry, play, ret)) { + if (GameInteractor_Should(VB_SPAWN_ACTOR_ENTRY, true, actorCtx, actorEntry, play, &ret)) { ret = Actor_Spawn(actorCtx, play, actorEntry->id, actorEntry->pos.x, actorEntry->pos.y, actorEntry->pos.z, actorEntry->rot.x, actorEntry->rot.y, actorEntry->rot.z, actorEntry->params); } |
