mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
PCExhumed: Fixed player view not centring when the Ramses Head appears.
This commit is contained in:
parent
d044b2a605
commit
ccfefaa9be
1 changed files with 3 additions and 0 deletions
|
@ -1177,8 +1177,11 @@ void FuncPlayer(int pA, int nDamage, int nRun)
|
|||
if (nTotalPlayers <= 1)
|
||||
{
|
||||
PlayerList[nPlayer].q16angle = fix16_from_int(GetAngleToSprite(nPlayerSprite, nSpiritSprite) & kAngleMask);
|
||||
PlayerList[nPlayer].q16oangle = PlayerList[nPlayer].q16angle;
|
||||
sprite[nPlayerSprite].ang = fix16_to_int(PlayerList[nPlayer].q16angle);
|
||||
|
||||
PlayerList[nPlayer].q16ohoriz = PlayerList[nPlayer].q16horiz = nVertPan[nPlayer] = F16(92);
|
||||
|
||||
lPlayerXVel = 0;
|
||||
lPlayerYVel = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue