From 20d958e0a94918932f71519116349ea4176db0b3 Mon Sep 17 00:00:00 2001 From: Mitch Richters Date: Sat, 30 Oct 2021 14:53:04 +1100 Subject: [PATCH] - Exhumed: Don't run through the slopetilting math if the view is locked. --- source/games/exhumed/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/exhumed/src/player.cpp b/source/games/exhumed/src/player.cpp index 1b75aa84d..03ed1632a 100644 --- a/source/games/exhumed/src/player.cpp +++ b/source/games/exhumed/src/player.cpp @@ -2451,7 +2451,7 @@ sectdone: pPlayer->bPlayerPan = false; } - if (cl_slopetilting) + if (cl_slopetilting && !pPlayer->bPlayerPan && !pPlayer->bLockPan) { double nVertPan = (pPlayer->nDestVertPan - pPlayer->horizon.horiz).asbuildf() * 0.25; if (nVertPan != 0)