summaryrefslogtreecommitdiff
path: root/src/subtask
diff options
context:
space:
mode:
authorTheo <65437533+notyourav@users.noreply.github.com>2023-12-30 14:35:18 -0800
committerGitHub <noreply@github.com>2023-12-30 14:35:18 -0800
commit9c87bcca8ea4b52199ed908c0ea28ab08b1d0747 (patch)
tree8df9fe68628826c949bf4ec0de9f74db40a9914d /src/subtask
parent3c0c1ba5a0653e0acb1c433c3619cda0e3223ddd (diff)
parent8b69eadaef0e0d9f1a4071d1cfad00e93183590b (diff)
Merge pull request #679 from octorock/enemies
Use new entity structs for enemies and player
Diffstat (limited to 'src/subtask')
-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);