diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-02-13 09:37:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 10:37:46 -0700 |
| commit | 6e94efaefba6ea31023fbf52462a4b5c29eb36b4 (patch) | |
| tree | d139bc7f8698273aa39a1e156a10c28ccb7ea866 /src/d/actor/d_a_npc_ne.cpp | |
| parent | 2453c0e3333157090e839eeab768d19b6a2b0ba1 (diff) | |
d_a_obj_carry mostly done (#2301)
* d_a_obj_carry mostly done
* cleanup some acch inlines
Diffstat (limited to 'src/d/actor/d_a_npc_ne.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_ne.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_npc_ne.cpp b/src/d/actor/d_a_npc_ne.cpp index 33081d5741..4bc81659a1 100644 --- a/src/d/actor/d_a_npc_ne.cpp +++ b/src/d/actor/d_a_npc_ne.cpp @@ -1631,7 +1631,7 @@ static BOOL npc_ne_home(npc_ne_class* i_this) { case 4: i_this->current.angle.x = 0x3000; target_speed = l_HIO.mRunSpeed; - if (i_this->mTimers[1] == 0 && i_this->mAcch.i_ChkGroundHit()) { + if (i_this->mTimers[1] == 0 && i_this->mAcch.ChkGroundHit()) { i_this->mMode = 1; anm_init(i_this, npc_ne_class::ANM_RUN, 2.0f, 2, 1.5f); } @@ -2114,7 +2114,7 @@ static void npc_ne_drop(npc_ne_class* i_this) { case 1: i_this->current.angle.x = 0x3000; - if (i_this->mAcch.i_ChkGroundHit()) { + if (i_this->mAcch.ChkGroundHit()) { i_this->shape_angle.x = 0; i_this->current.angle.x = 0; i_this->mpMorf->setPlaySpeed(2.0f); @@ -2167,7 +2167,7 @@ static void npc_ne_s_drop(npc_ne_class* i_this) { } else { max_speed_step = target_speed = 2.0f; } - if (i_this->mTimers[0] == 0 && i_this->mAcch.i_ChkGroundHit()) { + if (i_this->mTimers[0] == 0 && i_this->mAcch.ChkGroundHit()) { anm_init(i_this, npc_ne_class::ANM_JUMP_END, 3.0f, 0, 1.0f); i_this->mpMorf->setFrame(4.0f); i_this->mMode++; |
