diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2023-12-30 20:32:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-30 20:32:51 -0700 |
| commit | 9370701ca4df6f09e4f28fdf92330d6dd9992b88 (patch) | |
| tree | 9810495a9ad0afc9f026d0ac223e62063dfa5e26 /src/spawn_players.c | |
| parent | c3975f286585297f2917e7c964d821245727b153 (diff) | |
Fix Array D_80165230 Fake Match Usage (#521)
* Fix arr
Diffstat (limited to 'src/spawn_players.c')
| -rw-r--r-- | src/spawn_players.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/spawn_players.c b/src/spawn_players.c index 7e3f177c0..c622e6e56 100644 --- a/src/spawn_players.c +++ b/src/spawn_players.c @@ -23,9 +23,7 @@ #include "render_player.h" f32 D_80165210[8]; -f32 D_80165230[7]; -// weird D_8016524C should not exist and be in D_80165230 but don't match -f32 D_8016524C; +f32 D_80165230[8]; f32 D_80165250[8]; s16 D_80165270[8]; f32 D_80165280[8]; @@ -55,7 +53,6 @@ s32 D_80165500[8]; s32 D_80165520[8]; s32 D_80165540[8]; s16 D_80165560[7]; -// weird D_8016556E should not exist and be in D_80165560 but don't match s16 D_8016556E; s16 D_80165570; s16 D_80165572; @@ -1108,9 +1105,9 @@ void func_8003D080(void) { switch (gModeSelection) { case GRAND_PRIX: if (gCurrentCourseId == COURSE_TOADS_TURNPIKE) { - camera_init(0.0f, player->pos[1], D_8016524C, player->unk_02C[1], 8, 0); + camera_init(0.0f, player->pos[1], D_80165230[7], player->unk_02C[1], 8, 0); } else { - camera_init((D_80165210[7] + D_80165210[6]) / 2, player->pos[1], D_8016524C, player->unk_02C[1], 8, 0); + camera_init((D_80165210[7] + D_80165210[6]) / 2, player->pos[1], D_80165230[7], player->unk_02C[1], 8, 0); } break; |
