summaryrefslogtreecommitdiff
path: root/src/racing/race_logic.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2026-09-16 09:01:55 -0600
committerGitHub <noreply@github.com>2026-09-16 09:01:55 -0600
commit60ac50c9628d25968bfe367e1b4b6f030078be64 (patch)
treee03a0d825cfe443adcf076cb643c20692151f431 /src/racing/race_logic.c
parent7adfdaa9abb18d76ae80f26bff58c2c4dc4f3f29 (diff)
parent8fb42e50d70356300050048b57def3123e6d4552 (diff)
Merge branch 'main' into Caladius-patch-1Caladius-patch-1
Diffstat (limited to 'src/racing/race_logic.c')
-rw-r--r--src/racing/race_logic.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/racing/race_logic.c b/src/racing/race_logic.c
index 4118add2f..2239b7f95 100644
--- a/src/racing/race_logic.c
+++ b/src/racing/race_logic.c
@@ -28,8 +28,6 @@
#include "port/audio/HMAS.h"
#include "engine/editor/Editor.h"
-#pragma intrinsic(sqrtf)
-
extern s16 gPlayerBalloonCount[];
extern s16 D_8016348C;
@@ -423,7 +421,7 @@ void func_8028EC38(s32 arg0) {
}
}
-void func_8028EC98(s32 arg0) {
+void func_8028EC98(void) {
// We want music in multiplayer, so this was removed
//if (gScreenModeSelection == SCREEN_MODE_3P_4P_SPLITSCREEN) {
@@ -444,7 +442,7 @@ void start_race(void) {
D_8015011E = -1;
if (!gDemoMode) {
- func_8028EC98(gCurrentCourseId);
+ func_8028EC98();
}
if (gRaceState == RACE_STAGING) {
@@ -927,7 +925,7 @@ void func_8028FCBC(void) {
phi_v0_4 = 0x1;
//! @warning this used to be < gCurrentCourseId
// Hopefully this is equivallent.
- for (i = 0; i < TrackBrowser_GetTrackIndex(); i++) {
+ for (i = 0; i < (s32) TrackBrowser_GetTrackIndex(); i++) {
phi_v0_4 <<= 1;
}
if ((D_8015F890 == 0) && (!(D_800DC5AC & phi_v0_4))) {