diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-31 20:09:14 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-31 20:09:14 -0400 |
| commit | bd917524bad56cb7348f50a2fc1fa92c44dcdeed (patch) | |
| tree | efbaf908ac28ad01808bc44bd9661536141ce9fd /src/d/actor/d_a_obj_movebox.cpp | |
| parent | f71ec718fe9c74e74267c89afd34ccfd209793a2 (diff) | |
Demo work, d_a_kytag02 and d_a_ff OK
Diffstat (limited to 'src/d/actor/d_a_obj_movebox.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_movebox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_obj_movebox.cpp b/src/d/actor/d_a_obj_movebox.cpp index de96ffe4..f1aa2203 100644 --- a/src/d/actor/d_a_obj_movebox.cpp +++ b/src/d/actor/d_a_obj_movebox.cpp @@ -132,7 +132,7 @@ namespace daObjMovebox { M_gnd_work[i].SetActorPid(movebox->base.mBsPcId); mGroundY[i] = dComIfG_Bgsp()->GroundCross(&M_gnd_work[i]); if (mGroundY[i] > maxGroundY) { - fopAc_ac_c* groundActor = dComIfG_Bgsp()->GetActorPointer(M_gnd_work[i].GetBgIndex()); + fopAc_ac_c* groundActor = dComIfG_Bgsp()->GetActorPointer(M_gnd_work[i]); if (!(groundActor && fopAcM_GetName(groundActor) == PROC_Obj_Movebox && ((Act_c*)groundActor)->mMode == Act_c::MODE_AFLOAT)) { maxGroundY = mGroundY[i]; mMaxGroundIdx = i; |
