mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-26 22:55:41 +03:00
Fix for dead player inclination (#342)
* Fix for dead player inclination
This commit is contained in:
parent
7398bb7d71
commit
45fbb042f8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user