mirror of https://github.com/sm64pc/sm64pc.git
Merge pull request #434 from s4Ys369/patch-1
Bugfix: Discord Integration crashes
This commit is contained in:
commit
9d0c4dd94a
|
@ -186,7 +186,7 @@ static void set_state(void) {
|
|||
// when exiting a stage the act doesn't get reset
|
||||
if (gCurrActNum && gCurrCourseNum) {
|
||||
// any stage over 19 is a special stage without acts
|
||||
if (gCurrCourseNum < 19) {
|
||||
if (gCurrCourseNum <= COURSE_STAGES_MAX) {
|
||||
void **actNameTbl;
|
||||
#ifndef VERSION_EU
|
||||
actNameTbl = segmented_to_virtual(seg2_act_name_table);
|
||||
|
|
Loading…
Reference in New Issue