added option to exit course while moving

This commit is contained in:
Reonu committed 2021-07-03 20:42:31 +01:00
1 parent 39de47a435
commit 91b8a9b1d8
3 files changed
+9 -2

No files matched your search

+6 -2
View File
@@ -1751,8 +1751,12 @@ s16 render_pause_courses_and_castle(void) {
}
}
#endif
if (gMarioStates[0].action & ACT_FLAG_PAUSE_EXIT) {
#ifndef EXIT_COURSE_WHILE_MOVING
s32 exitCheck = gMarioStates[0].action & ACT_FLAG_PAUSE_EXIT;
#else
s32 exitCheck = 1;
#endif
if (exitCheck) {
#ifndef DISABLE_EXIT_COURSE
render_pause_course_options(99, 93, &gDialogLineNum, 15);
#endif