mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fixed crash when pausing in unexpected courses/acts
This commit is contained in:
parent
9310370d61
commit
ab933f250e
1 changed files with 4 additions and 0 deletions
|
|
@ -2369,6 +2369,10 @@ u8 gTextCourseArr[][7] = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void render_pause_my_score_coins(void) {
|
void render_pause_my_score_coins(void) {
|
||||||
|
// sanity check
|
||||||
|
if (!COURSE_IS_VALID_COURSE(gCurrCourseNum)) { return; }
|
||||||
|
if (gCurrActNum <= 0 || gCurrActNum > 6) { return; }
|
||||||
|
|
||||||
#ifdef VERSION_EU
|
#ifdef VERSION_EU
|
||||||
u8 textMyScore[][10] = {
|
u8 textMyScore[][10] = {
|
||||||
{ TEXT_MY_SCORE },
|
{ TEXT_MY_SCORE },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue