summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorangie <angheloalf95@gmail.com>2023-10-31 09:54:15 -0300
committerangie <angheloalf95@gmail.com>2023-10-31 09:54:15 -0300
commitaba8eed3f086fc03ba5ba95afc38ab78f8dbd48d (patch)
treead0a9516683bd38e791f4a250aa5067166a8aa76 /src/code
parent7f2782f9e4b22bfa59f46b63888f4c82e0ccb271 (diff)
fix merge
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_kankyo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_kankyo.c b/src/code/z_kankyo.c
index 0326dcd24..67329548a 100644
--- a/src/code/z_kankyo.c
+++ b/src/code/z_kankyo.c
@@ -1874,7 +1874,7 @@ void Environment_DrawLensFlare(PlayState* play, EnvironmentContext* envCtx, View
OPEN_DISPS(gfxCtx);
- dist = Math3D_Distance(&pos, &view->eye) / 12.0f;
+ dist = Math3D_Vec3f_DistXYZ(&pos, &view->eye) / 12.0f;
// compute a unit vector in the look direction
tempX = view->at.x - view->eye.x;