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