From 3d36fe510f23a2f2072ab96c5b74b0bd15860e56 Mon Sep 17 00:00:00 2001 From: Roman971 <32455037+Roman971@users.noreply.github.com> Date: Sun, 19 Jul 2020 21:42:05 +0200 Subject: Add COMPARE and NON_MATCHING build options (#275) * Add COMPARE and NON_MATCHING build options * Add a -m/--make option to first_diff.py * Minor comment update --- src/code/z_play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code') diff --git a/src/code/z_play.c b/src/code/z_play.c index 609280604..160a9b291 100644 --- a/src/code/z_play.c +++ b/src/code/z_play.c @@ -1636,7 +1636,7 @@ s32 func_800C05E4(GlobalContext* globalCtx, s16 camId, Vec3f* arg2, Vec3f* arg3, ret *= 2; ret |= Camera_SetParam(camera, 4, arg4); - camera->dist = func_800CB678(arg2, arg3); + camera->dist = Math3D_Vec3f_DistXYZ(arg2, arg3); player = camera->player; if (player != NULL) { -- cgit v1.2.3