mirror of https://github.com/sm64pc/sm64pc.git
Make sure the first star is initially selected, if all stars are obtained
This commit is contained in:
parent
df1340c37c
commit
469ad637ed
|
@ -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 New Issue