diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2021-07-14 11:59:04 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-13 21:59:04 -0400 |
| commit | fe6cce76dc476e7517f3c54bf0434b0125db6d5a (patch) | |
| tree | 72a0a4372cd78bf2142f41271ab0dcfa3d99a200 /src/code/z_snap.c | |
| parent | 5fcd494a7aebc025ba9182f7872c6e24ed556bf4 (diff) | |
z_olib.c OK and Documented (#202)
* z_olib.c OK
* Clean-Up Clamp
* Take out extra space
Diffstat (limited to 'src/code/z_snap.c')
| -rw-r--r-- | src/code/z_snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_snap.c b/src/code/z_snap.c index 910b28a3c..3ecb26611 100644 --- a/src/code/z_snap.c +++ b/src/code/z_snap.c @@ -122,7 +122,7 @@ s32 func_8013A530(GlobalContext* globalCtx, Actor* actor, s32 flag, Vec3f* pos, camera = ACTIVE_CAM; - distance = CamMath_Distance(pos, &camera->eye); + distance = OLib_Vec3fDist(pos, &camera->eye); if ((distance < distanceMin) || (distanceMax < distance)) { func_8013A41C(0x3f); ret = 0x3f; |
