diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-12-12 23:28:01 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-12-12 23:30:51 -0500 |
commit | 81d95b9325ed2526ce638744408f453a8169abb4 (patch) | |
tree | e0f7100b6b35156f0868df537b2e3a149061dd52 /src/frontier_pass.c | |
parent | ba3021db64bd9518f324c1ad89e63e90278f0eb4 (diff) |
Use BUGFIX for some inline fixes
Diffstat (limited to 'src/frontier_pass.c')
-rw-r--r-- | src/frontier_pass.c | 3 |
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 } } |