Fix for dead player inclination (#342)

* Fix for dead player inclination
This commit is contained in:
CrazY 2019-02-25 18:13:23 -03:00 committed by Dmitry Novikov
parent 7398bb7d71
commit 45fbb042f8

View File

@ -3482,7 +3482,12 @@ void CBasePlayer::PlayerDeathThink()
// we aren't calling into any of their code anymore through the player pointer.
PackDeadPlayerItems();
}
#ifdef REGAMEDLL_FIXES
// Clear inclination came from client view
pev->angles.x = 0;
#endif
if (pev->modelindex && !m_fSequenceFinished && pev->deadflag == DEAD_DYING)
{
StudioFrameAdvance();