diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index 0f89bf96b..c691173fc 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -4218,7 +4218,11 @@ void EXT_FUNC CBasePlayer::__API_HOOK(PreThink)() m_flVelocityModifier = 1; } - if (m_flIdleCheckTime <= (double)gpGlobals->time || m_flIdleCheckTime == 0.0f) + if ( +#ifdef REGAMEDLL_FIXES + IsAlive() && +#endif + m_flIdleCheckTime <= (double)gpGlobals->time || m_flIdleCheckTime == 0.0f) { // check every 5 seconds m_flIdleCheckTime = gpGlobals->time + 5.0;