diff --git a/source/games/exhumed/src/player.cpp b/source/games/exhumed/src/player.cpp index 5d38220b3..3a1a5fa13 100644 --- a/source/games/exhumed/src/player.cpp +++ b/source/games/exhumed/src/player.cpp @@ -1560,7 +1560,6 @@ static void doPlayerGravity(DExhumedActor* const pPlayerActor) static void doPlayerCameraEffects(Player* const pPlayer, const double nDestVertPan) { const auto pPlayerActor = pPlayer->pActor; - const auto pInput = &pPlayer->input; const auto nUnderwater = !!(pPlayerActor->sector()->Flag & kSectUnderwater); constexpr auto maxVel = 15.25; @@ -1568,7 +1567,7 @@ static void doPlayerCameraEffects(Player* const pPlayer, const double nDestVertP doPlayerVertPanning(pPlayer, nDestVertPan * cl_slopetilting); // Roll tilting effect, either console or Quake-style. - pPlayer->Angles.doViewTilting(pInput, pPlayerActor->vel.XY(), maxVel, nUnderwater); + pPlayer->Angles.doViewTilting(&pPlayer->input, pPlayerActor->vel.XY(), maxVel, nUnderwater); // Update Z bobbing. if (cl_viewbob) diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index 3af8fd891..7dc471c27 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -1098,7 +1098,7 @@ OptionValue "ViewTilting" 0, "$OPTVAL_OFF" 1, "$DSPLYMNU_VIEWTILTTURN" 2, "$DSPLYMNU_VIEWTILTSTRAFE" - 2, "$DSPLYMNU_VIEWTILTMOVEMENT" + 3, "$DSPLYMNU_VIEWTILTMOVEMENT" } OptionMenu "VideoOptions" protected