From ccfefaa9be014dd027f0b91e2ba7d6162122e8b9 Mon Sep 17 00:00:00 2001 From: sirlemonhead Date: Thu, 23 Jan 2020 21:58:49 +0000 Subject: [PATCH] PCExhumed: Fixed player view not centring when the Ramses Head appears. --- source/exhumed/src/player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/exhumed/src/player.cpp b/source/exhumed/src/player.cpp index d1aad85c0..bf6cd8552 100644 --- a/source/exhumed/src/player.cpp +++ b/source/exhumed/src/player.cpp @@ -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;