diff --git a/regamedll/dlls/cbase.cpp b/regamedll/dlls/cbase.cpp index 7cd10e1c7..20051e077 100644 --- a/regamedll/dlls/cbase.cpp +++ b/regamedll/dlls/cbase.cpp @@ -867,7 +867,7 @@ BOOL CBaseEntity::IsInWorld() // speed #ifdef REGAMEDLL_FIXES - double maxvel = g_psv_maxvelocity->value; + float maxvel = g_psv_maxvelocity->value; if (pev->velocity.x > maxvel || pev->velocity.y > maxvel || pev->velocity.z > maxvel) { return FALSE;