diff options
| author | Stbn-antier <99532548+Stbn-antier@users.noreply.github.com> | 2025-07-31 02:27:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-30 20:27:05 +0300 |
| commit | c32789eb607b0ca2cb63bd5b9e5f712985bd579e (patch) | |
| tree | 0c98e355ec5d13af14721e8693307f3edabb6a63 /src/d/actor/d_a_e_tk_ball.cpp | |
| parent | ec9e4cf26860e9effab9d2ef49e8f8074dcefb65 (diff) | |
d_a_bd Matching (#2560)
* Matching daPoFire
* Adressed comments
* Matching text
* Some cleanup
* Adressed review comments, added CUT_TYPE_NONE in cut type enum
Diffstat (limited to 'src/d/actor/d_a_e_tk_ball.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_tk_ball.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_e_tk_ball.cpp b/src/d/actor/d_a_e_tk_ball.cpp index d69a953064..81a8e89cc7 100644 --- a/src/d/actor/d_a_e_tk_ball.cpp +++ b/src/d/actor/d_a_e_tk_ball.cpp @@ -147,7 +147,7 @@ static void e_tk_ball_move(e_tk_ball_class* i_this) { if (i_this->mTgSph.ChkTgHit() || i_this->mAtSph.ChkAtShieldHit()) { impact_eff_set(i_this); actor->current.angle.x *= -1; - if (actor_lockon && daPy_getPlayerActorClass()->getCutType() != 0x00) { + if (actor_lockon && daPy_getPlayerActorClass()->getCutType() != daPy_py_c::CUT_TYPE_NONE) { i_this->mAction = ACT_TK_BALL_RETURN; i_this->mMode = MODE_TK_BALL_INIT; actor->current.angle.y -= 0x8000; @@ -168,7 +168,7 @@ static void e_tk_ball_move(e_tk_ball_class* i_this) { i_this->mInitalDistance = direction_vec.abs(); speed_vec.x = 0.0; speed_vec.y = 0.0; - if (daPy_getPlayerActorClass()->getCutType() != 0x00) { + if (daPy_getPlayerActorClass()->getCutType() != daPy_py_c::CUT_TYPE_NONE) { speed_vec.z = 60.0f; } cMtx_YrotS(*calc_mtx, actor->current.angle.y); |
