From 0afaff2663911ccff63d49a8d07b6256c6dfe6bb Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 30 Dec 2020 17:07:59 +1100 Subject: [PATCH] Revert "- Duke: Don't block horz input while returning to center." This reverts commit 5f6205802088189989b373d4bf5e0a8a200d1cbc. --- source/games/duke/src/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/input.cpp b/source/games/duke/src/input.cpp index cd1c28702..54bf48276 100644 --- a/source/games/duke/src/input.cpp +++ b/source/games/duke/src/input.cpp @@ -825,7 +825,7 @@ static void FinalizeInput(int playerNum, InputPacket& input, bool vehicle) loc.avel = input.avel = 0; } - if (p->newOwner == nullptr) + if (p->newOwner == nullptr && !(p->sync.actions & SB_CENTERVIEW)) { // input.horz already added to loc in processMovement() loc.horz = clamp(loc.horz, -MAXHORIZVEL, MAXHORIZVEL);