summaryrefslogtreecommitdiff
path: root/src/code_800029B0.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-07-31 21:51:00 -0600
committerGitHub <noreply@github.com>2024-07-31 21:51:00 -0600
commit48a8342f3fff5df04737cbd0511945a8bc5d6dd9 (patch)
treea0ace17d76f5eb68f87288551b64bcf2f1590baa /src/code_800029B0.c
parentfee2dc308a2461041f685bf3b884c1b9382b755c (diff)
Fix Buffer Overflows (#28)
* Update code_800AF9B0.c * Update code_80005FD0.c * Update code_800029B0.c * Update code_80091750.c * Update code_80091750.h * Update code_80005FD0.c
Diffstat (limited to 'src/code_800029B0.c')
-rw-r--r--src/code_800029B0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_800029B0.c b/src/code_800029B0.c
index 74e43a3dc..a8be23efc 100644
--- a/src/code_800029B0.c
+++ b/src/code_800029B0.c
@@ -128,7 +128,7 @@ u16 D_8015F890;
u16 D_8015F892;
u16 D_8015F894;
// Indexed by Player ID. Track time in seconds since player has last crossed the finish line
-f32 gTimePlayerLastTouchedFinishLine[8];
+f32 gTimePlayerLastTouchedFinishLine[NUM_PLAYERS];
u8 *gNmiUnknown1;
u8 *gNmiUnknown2;