mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- Blood: Fix horizon adjustment for death camera to avoid Fixed > Float > Fixed conversion.
This commit is contained in:
parent
20d958e0a9
commit
98d3850b95
1 changed files with 1 additions and 1 deletions
|
@ -1380,7 +1380,7 @@ void ProcessInput(PLAYER *pPlayer)
|
||||||
}
|
}
|
||||||
pPlayer->deathTime += 4;
|
pPlayer->deathTime += 4;
|
||||||
if (!bSeqStat)
|
if (!bSeqStat)
|
||||||
pPlayer->horizon.addadjustment(FixedToFloat(MulScale(0x8000-(Cos(ClipHigh(pPlayer->deathTime<<3, 1024))>>15), gi->playerHorizMax(), 16) - pPlayer->horizon.horiz.asq16()));
|
pPlayer->horizon.addadjustment(q16horiz(MulScale(0x8000-(Cos(ClipHigh(pPlayer->deathTime<<3, 1024))>>15), gi->playerHorizMax(), 16) - pPlayer->horizon.horiz.asq16()));
|
||||||
if (pPlayer->curWeapon)
|
if (pPlayer->curWeapon)
|
||||||
pInput->setNewWeapon(pPlayer->curWeapon);
|
pInput->setNewWeapon(pPlayer->curWeapon);
|
||||||
if (pInput->actions & SB_OPEN)
|
if (pInput->actions & SB_OPEN)
|
||||||
|
|
Loading…
Reference in a new issue