From 60473e96d02e0cf2d94f6b7c744cefac143870ea Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 13 Mar 2024 02:09:17 -0700 Subject: [PATCH] Loop camera: do not reverse panning direction based on player camera --- src/p_user.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/p_user.c b/src/p_user.c index 63bfe58ba..81c3f9a7c 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -3304,10 +3304,21 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall if (turn > turnspeed) { + // TODO: this code let the panning angle flip + // depending on your camera angle when entering + // the loop. + // It caused just about every loop to look weird + // sometimes, since the camera could move + // differently than configured. + // I don't know if this behavior should ever come + // back, but in case it should, I'm leaving this + // comment here. +#if 0 if (turn < ANGLE_90) { turnspeed = -(turnspeed); } +#endif focusangle += turnspeed; }