mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- Exhumed: Don't run through the slopetilting math if the view is locked.
This commit is contained in:
parent
738491d9e5
commit
20d958e0a9
1 changed files with 1 additions and 1 deletions
|
@ -2451,7 +2451,7 @@ sectdone:
|
|||
pPlayer->bPlayerPan = false;
|
||||
}
|
||||
|
||||
if (cl_slopetilting)
|
||||
if (cl_slopetilting && !pPlayer->bPlayerPan && !pPlayer->bLockPan)
|
||||
{
|
||||
double nVertPan = (pPlayer->nDestVertPan - pPlayer->horizon.horiz).asbuildf() * 0.25;
|
||||
if (nVertPan != 0)
|
||||
|
|
Loading…
Reference in a new issue