diff options
| author | Philip Dubé <serprex@users.noreply.github.com> | 2026-03-23 16:27:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-23 16:27:20 +0000 |
| commit | c439d6213780df715feb6c7773d6f39bad2107a9 (patch) | |
| tree | 45e97f2faafcb1bfd5d609764475b241919be85b /soh/src | |
| parent | 2cfb0f73dc993c3d3d19e84aea92954408632cc8 (diff) | |
Enemy rando: don't mutate ActorEntry (#6400)
Diffstat (limited to 'soh/src')
| -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); } |
