1
0
mirror of https://github.com/sm64pc/sm64pc.git synced 2025-04-12 00:05:59 +02:00

Revert "Bugfix: Discord Integration crashes"

This commit is contained in:
s4Ys369 2020-10-09 11:40:45 -04:00 committed by GitHub
parent 9d0c4dd94a
commit e6d2e7afea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 <= COURSE_STAGES_MAX) {
if (gCurrCourseNum < 19) {
void **actNameTbl;
#ifndef VERSION_EU
actNameTbl = segmented_to_virtual(seg2_act_name_table);