diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-03-03 09:07:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-03 11:07:51 -0300 |
| commit | e8f3039264ab94af9264f6bcedfab74fe72360cf (patch) | |
| tree | a86d0e2b8170317a767146ec44a8ed500d5ad3dd /src/code/z_sub_s.c | |
| parent | cc8772a896f8a654d36787ac23114d9f24a506d0 (diff) | |
speedXZ -> speed (#1186)
* speedXZ to speed
* brackets
Diffstat (limited to 'src/code/z_sub_s.c')
| -rw-r--r-- | src/code/z_sub_s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_sub_s.c b/src/code/z_sub_s.c index a792f3ce2..e4138269f 100644 --- a/src/code/z_sub_s.c +++ b/src/code/z_sub_s.c @@ -762,7 +762,7 @@ s32 SubS_WeightPathing_Move(Actor* actor, Path* path, s32* waypoint, f32* progre } while (true) { if (!SubS_WeightPathing_ComputePoint(path, *waypoint, &point, *progress, direction) || - ((s32)(actor->speedXZ * 10000.0f) == 0)) { + ((s32)(actor->speed * 10000.0f) == 0)) { return false; } dist = Math_Vec3f_DistXZ(&actor->world.pos, &point); |
