mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 12:32:13 +00:00
- Exhumed: Fix backwards logic from new pitch panning refactor.
* From 79f7ca976b
.
* Fixes #901.
This commit is contained in:
parent
e9a5f745fc
commit
71aad07913
1 changed files with 2 additions and 2 deletions
|
@ -1869,8 +1869,8 @@ static void doPlayerAngles(Player* const pPlayer)
|
||||||
{
|
{
|
||||||
const auto pPlayerActor = pPlayer->pActor;
|
const auto pPlayerActor = pPlayer->pActor;
|
||||||
const auto pInput = &pPlayer->input;
|
const auto pInput = &pPlayer->input;
|
||||||
const auto nCurrVertPan = cl_slopetilting ? pPlayer->Angles.ViewAngles.Pitch : nullAngle;
|
const auto nDestVertPan = cl_slopetilting ? pPlayer->nDestVertPan : nullAngle;
|
||||||
const auto nVertPan = deltaangle(nCurrVertPan, pPlayer->nDestVertPan).Tan() * 32.;
|
const auto nVertPan = deltaangle(pPlayer->Angles.ViewAngles.Pitch, nDestVertPan).Tan() * 32.;
|
||||||
|
|
||||||
if (SyncInput())
|
if (SyncInput())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue