mirror of
https://github.com/sm64-port/sm64-port.git
synced 2025-01-22 07:32:09 -05:00
Make sure the first star is initially selected, if all stars are obtained
This commit is contained in:
parent
3143303490
commit
3fb5a2813f
1 changed files with 4 additions and 0 deletions
|
@ -394,6 +394,10 @@ s32 lvl_init_act_selector_values_and_stars(UNUSED s32 arg, UNUSED s32 unused) {
|
|||
sInitSelectedActNum = 0;
|
||||
sVisibleStars = 0;
|
||||
sActSelectorMenuTimer = 0;
|
||||
#ifdef NO_SEGMENTED_MEMORY
|
||||
sSelectedActIndex = 0;
|
||||
sSelectableStarIndex = 0;
|
||||
#endif
|
||||
sObtainedStars = save_file_get_course_star_count(gCurrSaveFileNum - 1, gCurrCourseNum - 1);
|
||||
|
||||
// Don't count 100 coin star
|
||||
|
|
Loading…
Reference in a new issue