summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 937b986e6..5f3593f76 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -3394,10 +3394,10 @@ Actor* Actor_SpawnAsChildAndCutscene(ActorContext* actorCtx, PlayState* play, s1
Actor_AddToCategory(actorCtx, actor, actorInit->type);
{
- u32 sp20 = gSegments[6];
+ uintptr_t prevSeg = gSegments[0x06];
Actor_Init(actor, play);
- gSegments[6] = sp20;
+ gSegments[0x06] = prevSeg;
}
return actor;