summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-10-05 15:31:31 -0600
committerGitHub <noreply@github.com>2024-10-05 15:31:31 -0600
commit75297759ee906b103ff9714dad17e683f1757b7f (patch)
tree2a81aff6c8e1d2be2806f34f8850c74499980479 /src/main.c
parent447fd8b29057e8dcc223507e6b7d6bc448c6f7d8 (diff)
[modding] Course Mod Support (#104)
* Course Manager * Course * Test * Render * That escalated quickly * update * properties * Properties * test * Fix compile * Add World * skycolours * Skybox Colours done * Cleanup * test * Game runs again * update * Game run again * Cup Works * continue * Add Courses * clouds * changes * fixes * update * Fix compile * update * A few changes * More Updates * More refactors * Fixes * Fix ai behaviour * Changes * Fix courses * test course test not working * CUSTOM * TestCourse works kinda * fixes * test course works * cleanup --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index a47eeefe9..4844c8022 100644
--- a/src/main.c
+++ b/src/main.c
@@ -712,7 +712,7 @@ void race_logic_loop(void) {
break;
case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL:
- if (gCurrentCourseId == COURSE_DK_JUNGLE) {
+ if (GetCourse() == GetDkJungle()) {
gTickSpeed = 3;
} else {
gTickSpeed = 2;
@@ -757,7 +757,7 @@ void race_logic_loop(void) {
case SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL:
- if (gCurrentCourseId == COURSE_DK_JUNGLE) {
+ if (GetCourse() == GetDkJungle()) {
gTickSpeed = 3;
} else {
gTickSpeed = 2;