From 975b96265cc9a276340846dcd3bf26e2ebca79bd Mon Sep 17 00:00:00 2001 From: MegaMech Date: Sat, 15 Jun 2024 14:08:34 -0600 Subject: [PATCH] Fix syntax error (#639) * Rename some stack vars * Update collision.c --- src/racing/collision.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/racing/collision.c b/src/racing/collision.c index 6d66094c8..7673be502 100644 --- a/src/racing/collision.c +++ b/src/racing/collision.c @@ -1917,7 +1917,8 @@ void func_802AF314(void) { s16 minZ; s32 scaledZ; s32 scaledX; - UNUSED s32 pad2[2]; + s32 courseLengthX; + s32 courseLengthZ; s32 index; courseLengthX = (s32) gCourseMaxX - gCourseMinX; courseLengthZ = (s32) gCourseMaxZ - gCourseMinZ;