summaryrefslogtreecommitdiff
path: root/src/code_800029B0.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2023-10-09 20:46:56 -0600
committerGitHub <noreply@github.com>2023-10-09 20:46:56 -0600
commit7f14bf80df88f3d04727f217012ddbafaeb4b09a (patch)
tree93fa03a3a871829ff0b7bcb6b7608fe9dea090ce /src/code_800029B0.c
parent41a0471605e77c284a00b3af37cb720119559f46 (diff)
Rename wayPoint to waypoint (#448)
* Rename wayPoint to waypoint * other
Diffstat (limited to 'src/code_800029B0.c')
-rw-r--r--src/code_800029B0.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/code_800029B0.c b/src/code_800029B0.c
index 36878fc7b..52a4f2eb4 100644
--- a/src/code_800029B0.c
+++ b/src/code_800029B0.c
@@ -202,18 +202,18 @@ void setup_race(void) {
func_8029E158();
if (gModeSelection != BATTLE) {
- D_8015F8D0[1] = (f32) (D_80164490->wayPointY - 15);;
- D_8015F8D0[2] = D_80164490->wayPointZ;
+ D_8015F8D0[1] = (f32) (D_80164490->posY - 15);;
+ D_8015F8D0[2] = D_80164490->posZ;
if (gCurrentCourseId == COURSE_TOADS_TURNPIKE) {
D_8015F8D0[0] = (gIsMirrorMode != 0) ?
- D_80164490->wayPointX + 138.0f :
- D_80164490->wayPointX - 138.0f;
+ D_80164490->posX + 138.0f :
+ D_80164490->posX - 138.0f;
} else if (gCurrentCourseId == COURSE_WARIO_STADIUM) {
D_8015F8D0[0] = (gIsMirrorMode != 0) ?
- D_80164490->wayPointX + 12.0f :
- D_80164490->wayPointX - 12.0f;
+ D_80164490->posX + 12.0f :
+ D_80164490->posX - 12.0f;
} else {
- D_8015F8D0[0] = D_80164490->wayPointX;
+ D_8015F8D0[0] = D_80164490->posX;
}
}
if (!gDemoMode) {