From 1fa46651a062df4cf3cea048df1b9747399dddd6 Mon Sep 17 00:00:00 2001 From: MysterD Date: Tue, 10 Aug 2021 22:41:43 -0700 Subject: [PATCH] Player 'enter/leave level' popups now appear for bonus courses --- src/pc/network/network_player.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pc/network/network_player.c b/src/pc/network/network_player.c index 9a79ba15..020b8478 100644 --- a/src/pc/network/network_player.c +++ b/src/pc/network/network_player.c @@ -116,11 +116,12 @@ static void network_player_update_level_popup(void) { static s16 sCachedActStarNum = 0; static s16 sCachedLevelNum = 0; + bool inBonusCourse = (gCurrCourseNum >= 16); bool allowPopup = (sCachedCourseNum == gCurrCourseNum) && (sCachedActStarNum == gCurrActStarNum) && (sCachedLevelNum == gCurrLevelNum) && (gCurrActStarNum != 99) // suppress popup for credits sequence - && (gCurrCourseNum == 0 || gCurrActStarNum != 0); // suppress popup for star selection + && (inBonusCourse || gCurrActStarNum != 0); // suppress popup for star selection sCachedCourseNum = gCurrCourseNum; sCachedActStarNum = gCurrActStarNum;