diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-05-16 12:24:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 12:24:04 -0400 |
commit | 9e690c07edb2219c6c19fc5869a9558cc9df973d (patch) | |
tree | 79e3819ea798c409d5903ae252cc97609eba581c /src/egg_hatch.c | |
parent | ab8318cc79de60413085b104125490cbae344169 (diff) | |
parent | a7e3da2301aa7913f2437fe2152efcec6e96faef (diff) |
Merge pull request #1437 from ExpoSeed/bugfixes
Various BUGFIXes and UBFIXes
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r-- | src/egg_hatch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c index 7a3019f56..576e5c0d9 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -584,6 +584,9 @@ static void Task_EggHatchPlayBGM(u8 taskID) PlayBGM(MUS_EVOLUTION); DestroyTask(taskID); // UB: task is destroyed, yet the value is incremented + #ifdef UBFIX + return; + #endif } gTasks[taskID].data[0]++; } |