- Exhumed: Update inita in UpdatePlayerSpriteAngle(), allowing the removal of forced synchronised input while using the chase cam.

This commit is contained in:
Mitchell Richters 2021-01-05 11:01:47 +11:00
parent d32dcd5f8e
commit 726c51bf63
2 changed files with 1 additions and 6 deletions

View file

@ -107,14 +107,9 @@ void GameInterface::ToggleThirdPerson()
if (bCamera) if (bCamera)
{ {
setForcedSyncInput();
GrabPalette(); GrabPalette();
} }
} }
if (!bCamera)
{
resetForcedSyncInput();
}
} }

View file

@ -673,7 +673,7 @@ static void pickupMessage(int no)
void UpdatePlayerSpriteAngle(Player* pPlayer) void UpdatePlayerSpriteAngle(Player* pPlayer)
{ {
sprite[pPlayer->nSprite].ang = pPlayer->angle.ang.asbuild(); inita = sprite[pPlayer->nSprite].ang = pPlayer->angle.ang.asbuild();
} }
void FuncPlayer(int a, int nDamage, int nRun) void FuncPlayer(int a, int nDamage, int nRun)