diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-02-05 02:13:21 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-02-05 02:13:21 -0500 |
| commit | 76083c90eaec65aa0eebd9a75256240465ac577c (patch) | |
| tree | 88a1a76921496af4c2b68277e8ccaf0d78bd4489 /src/d/actor/d_a_agb.cpp | |
| parent | 0d899b50f592978e2476813b06b50da4de0f638d (diff) | |
Misc matches, including dComIfGp_event_runCheck fixes
Diffstat (limited to 'src/d/actor/d_a_agb.cpp')
| -rw-r--r-- | src/d/actor/d_a_agb.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/d/actor/d_a_agb.cpp b/src/d/actor/d_a_agb.cpp index ba5cead3..5f19859e 100644 --- a/src/d/actor/d_a_agb.cpp +++ b/src/d/actor/d_a_agb.cpp @@ -1554,15 +1554,14 @@ int daAgb_c::createHeap() { } /* 800D3B58-800D3D2C .text daAgb_Create__FP10fopAc_ac_c */ -// NONMATCHING - dBgS_CrrPos::Set needs works static int daAgb_Create(fopAc_ac_c* i_this) { - fopAcM_SetupActor(i_this, daAgb_c); daAgb_c* a_this = (daAgb_c*)i_this; + fopAcM_SetupActor(i_this, daAgb_c); int phase = dComIfG_resLoad(&a_this->mPhase, "Agb"); if (phase == cPhs_COMPLEATE_e) { dComIfGp_setAgb(a_this); - if (!fopAcM_entrySolidHeap(a_this, createHeap_CB, 0x500)) { + if (!fopAcM_entrySolidHeap(i_this, createHeap_CB, 0x500)) { return cPhs_ERROR_e; } @@ -1570,7 +1569,7 @@ static int daAgb_Create(fopAc_ac_c* i_this) { a_this->mCrrPos.SetWall(171.0f, 50.0f); a_this->mCrrPos.SetGndUpY(170.0f); a_this->mCrrPos.ClrNoRoof(); - a_this->mAcch.Set(fopAcM_GetPosition_p(a_this), fopAcM_GetOldPosition_p(a_this), a_this, 1, &a_this->mAcchCir); + a_this->mAcch.Set(fopAcM_GetPosition_p(i_this), fopAcM_GetOldPosition_p(i_this), i_this, 1, &a_this->mAcchCir); a_this->mAcch.OnLineCheck(); a_this->mAcch.SetGrndNone(); a_this->mAcchCir.SetWall(171.0f, 40.0f); |
