Rename wayPoint to waypoint (#448)

* Rename wayPoint to waypoint

* other
This commit is contained in:
MegaMech
2023-10-09 20:46:56 -06:00
committed by GitHub
parent 41a0471605
commit 7f14bf80df
63 changed files with 704 additions and 681 deletions
+7 -7
View File
@@ -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) {