diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-27 12:14:38 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-27 12:14:38 -0400 |
| commit | be8da688fcc755d77e2cdb7a69124297b01ff683 (patch) | |
| tree | c881c9ba84af3a5d0cac26427a436c8c9927b129 /src/d/actor/d_a_nzg.cpp | |
| parent | 7fae08bcd1e75242b3cdcb7a0704488911561e78 (diff) | |
zl1 cleanup, inline cleanup
Diffstat (limited to 'src/d/actor/d_a_nzg.cpp')
| -rw-r--r-- | src/d/actor/d_a_nzg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_nzg.cpp b/src/d/actor/d_a_nzg.cpp index bed1a403..6ec34515 100644 --- a/src/d/actor/d_a_nzg.cpp +++ b/src/d/actor/d_a_nzg.cpp @@ -68,8 +68,8 @@ void nzg_00_move(nzg_class* i_this) { parameters |= 0x100; } - if (parameters & 0x100 || fopAcM_searchActorDistance(actor, dComIfGp_getPlayer(0)) < i_this->m2CC * 0.5f) { - if (fopAcM_searchActorDistance(actor, dComIfGp_getPlayer(0)) > i_this->m2D0 * 0.5f) { + if (parameters & 0x100 || fopAcM_searchPlayerDistance(actor) < i_this->m2CC * 0.5f) { + if (fopAcM_searchPlayerDistance(actor) > i_this->m2D0 * 0.5f) { parameters |= 1; csXyz child_angle = actor->current.angle; |
