summaryrefslogtreecommitdiff
path: root/src/subtask/subtaskFastTravel.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-12-30 22:08:56 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2023-12-30 22:09:30 +0100
commita818f1b7041898d7eee28b5c1c455ba3225e063f (patch)
tree8a249012181db16dc1161efb36cf0abe7c0e9ff1 /src/subtask/subtaskFastTravel.c
parent5676cb7890facded77c5cf32c6017fbf12a4d386 (diff)
Use new entity struct for player
Diffstat (limited to 'src/subtask/subtaskFastTravel.c')
-rw-r--r--src/subtask/subtaskFastTravel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtask/subtaskFastTravel.c b/src/subtask/subtaskFastTravel.c
index 6e4749e6..b457a10c 100644
--- a/src/subtask/subtaskFastTravel.c
+++ b/src/subtask/subtaskFastTravel.c
@@ -138,7 +138,7 @@ void Subtask_FastTravel_3(void) {
SetFade(FADE_IN_OUT | FADE_INSTANT, 8);
} else {
ResetPlayerAnimationAndAction();
- sub_080042D0(&gPlayerEntity, (u32)gPlayerEntity.animIndex, gPlayerEntity.spriteIndex);
+ sub_080042D0(&gPlayerEntity.base, (u32)gPlayerEntity.base.animIndex, gPlayerEntity.base.spriteIndex);
Subtask_Exit();
gPauseMenuOptions.disabled = 0;
SoundReq(SFX_MENU_CANCEL);