summaryrefslogtreecommitdiff
path: root/src/frontier_pass.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-12-14 20:00:59 -0500
committerGitHub <noreply@github.com>2020-12-14 20:00:59 -0500
commit18a5feb413827ee5641e9a21e8e90ba0e9a90142 (patch)
tree5b486cd8f42cf734099c0e9a4a3aea37f33c30e6 /src/frontier_pass.c
parent6dea3374d2277468828c71ef1fb083d85cdcd2ff (diff)
parentf7a729df3079041d3cc462a44919150f4ebdf19f (diff)
Merge pull request #1269 from GriffinRichards/bugfix
Use BUGFIX for some inline fixes
Diffstat (limited to 'src/frontier_pass.c')
-rw-r--r--src/frontier_pass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontier_pass.c b/src/frontier_pass.c
index 1b8030149..cf170b350 100644
--- a/src/frontier_pass.c
+++ b/src/frontier_pass.c
@@ -983,6 +983,9 @@ static void Task_HandleFrontierPassInput(u8 taskId)
SetMainCallback2(CB2_HideFrontierPass);
DestroyTask(taskId);
// BUG. The function should return here. Otherwise, it can play the same sound twice and destroy the same task twice.
+ #ifdef BUGFIX
+ return;
+ #endif
}
}