From 259bc5dd97bb294ae9fdc2758fb445869f26db31 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sat, 22 Mar 2025 13:19:59 -0400 Subject: [PATCH] Fix small p_tick.c mistakes --- src/p_tick.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/p_tick.c b/src/p_tick.c index 6da044264..9ea3ea380 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -905,15 +905,17 @@ void P_Ticker(boolean run) } } - K_UpdateDirector(); - - // Always move the camera. - P_RunChaseCameras(); - - LUA_HOOK(PostThinkFrame); + if (gamestate == GS_LEVEL) + { + // Move the camera during levels. + K_UpdateDirector(); + P_RunChaseCameras(); + } if (run) { + LUA_HOOK(PostThinkFrame); + R_UpdateLevelInterpolators(); // Hack: ensure newview is assigned every tic.