From a818f1b7041898d7eee28b5c1c455ba3225e063f Mon Sep 17 00:00:00 2001 From: octorock <79596758+octorock@users.noreply.github.com> Date: Sat, 30 Dec 2023 22:08:56 +0100 Subject: Use new entity struct for player --- src/subtask/subtaskFastTravel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/subtask') 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); -- cgit v1.2.3