mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-03 06:01:27 +00:00
Fix power meter crash
This commit is contained in:
parent
6471da0a07
commit
f18a3fef7d
1 changed files with 1 additions and 1 deletions
|
@ -1094,7 +1094,7 @@ void initiate_delayed_warp(void) {
|
|||
|
||||
void update_hud_values(void) {
|
||||
if (gCurrCreditsEntry == NULL) {
|
||||
s16 numHealthWedges = gMarioState->health > 0 ? gMarioState->health >> 8 : 0;
|
||||
s16 numHealthWedges = gMarioState->health > 0 ? MIN(gMarioState->health >> 8, 8) : 0;
|
||||
|
||||
if (gCurrCourseNum >= COURSE_MIN) {
|
||||
gHudDisplay.flags |= HUD_DISPLAY_FLAG_COIN_COUNT;
|
||||
|
|
Loading…
Reference in a new issue