Skip to content

Commit

Permalink
Fix HUD flashing behavior.
Browse files Browse the repository at this point in the history
Turns out, there was a && used when it should've been || ?
  • Loading branch information
LittlePlanetCD committed Jul 13, 2024
1 parent 771eb45 commit 75b3784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SonicMania/Objects/Global/HUD.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void HUD_Draw(void)
#if GAME_VERSION != VER_100
#if MANIA_USE_PLUS
self->timeFlashFrame = 0;
if ((SceneInfo->minutes == 9 && isMainGameMode() && !(globals->medalMods & MEDAL_NOTIMEOVER)) && ActClear->disableTimeBonus)
if ((SceneInfo->minutes == 9 && isMainGameMode() && !(globals->medalMods & MEDAL_NOTIMEOVER)) || ActClear->disableTimeBonus)
self->timeFlashFrame = (Zone->persistentTimer >> 3) & 1;
#else
if (SceneInfo->minutes == 9 && globals->gameMode < MODE_TIMEATTACK)
Expand Down

0 comments on commit 75b3784

Please sign in to comment.