mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 11:11:16 +00:00
- Exhumed: Repair player look/aim code.
This commit is contained in:
parent
8f679ecf61
commit
738491d9e5
1 changed files with 2 additions and 2 deletions
|
@ -2435,12 +2435,12 @@ sectdone:
|
|||
pPlayer->horizon.applyinput(sPlayerInput[nPlayer].pan, &sPlayerInput[nLocalPlayer].actions);
|
||||
}
|
||||
|
||||
if (actions & (SB_LOOK_UP | SB_LOOK_DOWN) || sPlayerInput[nPlayer].pan)
|
||||
if (actions & (SB_AIM_UP | SB_AIM_DOWN) || sPlayerInput[nPlayer].pan)
|
||||
{
|
||||
pPlayer->nDestVertPan = pPlayer->horizon.horiz;
|
||||
pPlayer->bPlayerPan = pPlayer->bLockPan = true;
|
||||
}
|
||||
else if (actions & (SB_AIM_UP | SB_AIM_DOWN | SB_CENTERVIEW))
|
||||
else if (actions & (SB_LOOK_UP | SB_LOOK_DOWN | SB_CENTERVIEW))
|
||||
{
|
||||
pPlayer->nDestVertPan = pPlayer->horizon.horiz;
|
||||
pPlayer->bPlayerPan = pPlayer->bLockPan = false;
|
||||
|
|
Loading…
Reference in a new issue