Merge pull request #438 from s4Ys369/revert-434-patch-1

Revert "Bugfix: Discord Integration crashes"
This commit is contained in:
fgsfds 2020-10-09 19:27:21 +03:00 committed by GitHub
commit 57c203465b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);