FIX crash

This commit is contained in:
nullifiedcat 2017-02-15 14:59:31 +03:00
parent 29bba0f966
commit 8ee2c1c23a

View File

@ -57,7 +57,7 @@ void CachedEntity::Update(int idx) {
m_iClassID = m_pEntity->GetClientClass()->m_ClassID; m_iClassID = m_pEntity->GetClientClass()->m_ClassID;
Vector origin = m_pEntity->GetAbsOrigin(); Vector origin = m_pEntity->GetAbsOrigin();
if (TF2 && EstimateAbsVelocity) EstimateAbsVelocity(m_pEntity, m_vecVelocity); //if (TF2 && EstimateAbsVelocity) EstimateAbsVelocity(m_pEntity, m_vecVelocity);
/*if ((interfaces::gvars->realtime - m_fLastUpdate) >= 0.05f) { /*if ((interfaces::gvars->realtime - m_fLastUpdate) >= 0.05f) {
//if (interfaces::gvars->tickcount - m_nLastTick > 1) { //if (interfaces::gvars->tickcount - m_nLastTick > 1) {
//logging::Info("Running %i ticks behind!", interfaces::gvars->tickcount - m_nLastTick); //logging::Info("Running %i ticks behind!", interfaces::gvars->tickcount - m_nLastTick);