From 7881dc9907b815481f9e9020fc1843f2d02a858e Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 8 Nov 2020 21:03:11 +1100 Subject: [PATCH] - WHaven: Fix compilation following merge of master in 5d77b1fd253b65977688ec689988c7e93e5dafc7. --- source/games/whaven/src/input.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/games/whaven/src/input.cpp b/source/games/whaven/src/input.cpp index c21e218dc..91d42d540 100644 --- a/source/games/whaven/src/input.cpp +++ b/source/games/whaven/src/input.cpp @@ -152,7 +152,7 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput) if (!cl_syncinput) { - applylook(&plr.angle, input.avel, &plr.plInput.actions, scaleAdjust, plr.plInput.actions & SB_CROUCH); + applylook(&plr.angle, input.avel, &plr.plInput.actions, scaleAdjust); sethorizon(&plr.horizon.horiz, input.horz, &plr.plInput.actions, scaleAdjust); plr.angle.processhelpers(scaleAdjust); @@ -264,7 +264,7 @@ void processinput(int num) { if (cl_syncinput) { - sethorizon(&plr.horizon.horiz, plr.plInput.horz, &bits, 1); + sethorizon(&plr.horizon.horiz, plr.plInput.horz, &bits); } if ((bits & SB_FLYSTOP) != 0) @@ -305,7 +305,7 @@ void processinput(int num) { if (cl_syncinput) { - applylook(&plr.angle, plr.plInput.avel, &bits, 1, bits & SB_CROUCH); + applylook(&plr.angle, plr.plInput.avel, &bits); } if (plr.sector != -1 && ((sector[plr.sector].floorpicnum != LAVA || sector[plr.sector].floorpicnum != SLIME