Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed Mar 25, 2023
1 parent 64288d5 commit 72590eb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,11 @@ void RenderAllHUD(struct GameTracker* gGT)
// drawing end of race
else
{
if((gameMode1 & (ADVENTURE_MODE | ARCADE_MODE)) != 0)
if((gGT->gameMode2 & CUP_ANY_KIND) != 0)
{
AA_EndEvent_DrawMenu();
// disable drawing hud,
// enable drawing "standings"
gGT->hudFlags = (hudFlags & 0xfe) | 4;
return;
}

Expand All @@ -577,11 +579,9 @@ void RenderAllHUD(struct GameTracker* gGT)
return;
}

if((gGT->gameMode2 & CUP_ANY_KIND) != 0)
if((gameMode1 & (ADVENTURE_MODE | ARCADE_MODE)) != 0)
{
// disable drawing hud,
// enable drawing "standings"
gGT->hudFlags = (hudFlags & 0xfe) | 4;
AA_EndEvent_DrawMenu();
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,11 @@ void RenderAllHUD(struct GameTracker* gGT)
// drawing end of race
else
{
if((gameMode1 & (ADVENTURE_MODE | ARCADE_MODE)) != 0)
if((gGT->gameMode2 & CUP_ANY_KIND) != 0)
{
AA_EndEvent_DrawMenu();
// disable drawing hud,
// enable drawing "standings"
gGT->hudFlags = (hudFlags & 0xfe) | 4;
return;
}

Expand All @@ -501,11 +503,9 @@ void RenderAllHUD(struct GameTracker* gGT)
return;
}

if((gGT->gameMode2 & CUP_ANY_KIND) != 0)
if((gameMode1 & (ADVENTURE_MODE | ARCADE_MODE)) != 0)
{
// disable drawing hud,
// enable drawing "standings"
gGT->hudFlags = (hudFlags & 0xfe) | 4;
AA_EndEvent_DrawMenu();
return;
}

Expand Down

0 comments on commit 72590eb

Please sign in to comment.