mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 07:38:00 +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.
|
// we aren't calling into any of their code anymore through the player pointer.
|
||||||
PackDeadPlayerItems();
|
PackDeadPlayerItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
// Clear inclination came from client view
|
||||||
|
pev->angles.x = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (pev->modelindex && !m_fSequenceFinished && pev->deadflag == DEAD_DYING)
|
if (pev->modelindex && !m_fSequenceFinished && pev->deadflag == DEAD_DYING)
|
||||||
{
|
{
|
||||||
StudioFrameAdvance();
|
StudioFrameAdvance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user