From f147dcac0c8da26e137a8319e727c67b369cbcae Mon Sep 17 00:00:00 2001 From: MelonSpeedruns Date: Wed, 29 Apr 2026 15:29:00 -0400 Subject: [PATCH] Fix camera while crawling & disable freecam properly when not chasecam --- src/d/d_camera.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/d/d_camera.cpp b/src/d/d_camera.cpp index a9c54512e3..09ed30d9f7 100644 --- a/src/d/d_camera.cpp +++ b/src/d/d_camera.cpp @@ -1175,14 +1175,14 @@ bool dCamera_c::Run() { clrFlag(0x200000); } } else { - sp0F = (this->*engine_tbl[mCamParam.Algorythmn(mCamStyle)])(mCamStyle); - #if TARGET_PC if (mCamParam.Algorythmn(mCamStyle) != 1) { mCamParam.mManualMode = 0; } #endif + sp0F = (this->*engine_tbl[mCamParam.Algorythmn(mCamStyle)])(mCamStyle); + field_0x170++; field_0x160++; mCurCamStyleTimer++; @@ -7474,7 +7474,8 @@ bool dCamera_c::test2Camera(s32 param_0) { #if TARGET_PC bool dCamera_c::freeCamera() { - if (!dusk::getSettings().game.freeCamera) { + if (!dusk::getSettings().game.freeCamera || mCamStyle == 70) + { mCamParam.mManualMode = 0; return false; }