summaryrefslogtreecommitdiff
path: root/src/code_800029B0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_800029B0.c')
-rw-r--r--src/code_800029B0.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/code_800029B0.c b/src/code_800029B0.c
index f94bd5e3b..beba2e490 100644
--- a/src/code_800029B0.c
+++ b/src/code_800029B0.c
@@ -242,7 +242,9 @@ void setup_race(void) {
// }
// }
if (!gDemoMode) {
- func_800CA008(gPlayerCountSelection1 - 1, gCurrentCourseId + 4);
+ //! @warning this used to be gCurrentCourseId + 4
+ // Hopefully this is equivallent.
+ func_800CA008(gPlayerCountSelection1 - 1, GetCourseIndex() + 4);
func_800CB2C4();
}