diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-11-02 16:21:43 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-11-02 16:21:43 -0400 |
| commit | e01095535f5cea6140df9559bdb015ef49f88728 (patch) | |
| tree | a8ff530e574e9c896db4a3e32a1fd43b623cce0f /src/d/actor/d_a_agb.cpp | |
| parent | 6b31312531d737d61a8c06c9325ac51dc510b453 (diff) | |
d_a_dai_item work
Diffstat (limited to 'src/d/actor/d_a_agb.cpp')
| -rw-r--r-- | src/d/actor/d_a_agb.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/d/actor/d_a_agb.cpp b/src/d/actor/d_a_agb.cpp index 6d6c76af..47e3d285 100644 --- a/src/d/actor/d_a_agb.cpp +++ b/src/d/actor/d_a_agb.cpp @@ -1314,15 +1314,15 @@ void daAgb_c::CursorMove(fopAc_ac_c* actor, u32 stage_type) { f32 f30 = C_BG_INVALID_HEIGHT; r1_5C.OffWall(); r1_14.y = actor->current.pos.y + 150.0f; - static f32 l_ckOffset[][2] = { - -49.0f, -49.0f, - 49.0f, -49.0f, - -49.0f, 49.0f, - 49.0f, 49.0f, + static cXy l_ckOffset[] = { + {-49.0f, -49.0f}, + {49.0f, -49.0f}, + {-49.0f, 49.0f}, + {49.0f, 49.0f}, }; for (int i = 0; i < 4; i++) { - r1_14.x = actor->current.pos.x + l_ckOffset[i][0]; - r1_14.z = actor->current.pos.z + l_ckOffset[i][1]; + r1_14.x = actor->current.pos.x + l_ckOffset[i].x; + r1_14.z = actor->current.pos.z + l_ckOffset[i].y; r1_5C.SetPos(&r1_14); f32 groundY = dComIfG_Bgsp()->GroundCross(&r1_5C); if (groundY > f30) { |
