Revert "- Duke: Don't block horz input while returning to center."

This reverts commit 5f62058020.
This commit is contained in:
Mitchell Richters 2020-12-30 17:07:59 +11:00
parent 5f62058020
commit 0afaff2663

View file

@ -825,7 +825,7 @@ static void FinalizeInput(int playerNum, InputPacket& input, bool vehicle)
loc.avel = input.avel = 0; 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() // input.horz already added to loc in processMovement()
loc.horz = clamp(loc.horz, -MAXHORIZVEL, MAXHORIZVEL); loc.horz = clamp(loc.horz, -MAXHORIZVEL, MAXHORIZVEL);