diff --git a/regamedll/dlls/cbase.cpp b/regamedll/dlls/cbase.cpp index 9b7da4da0..0fbdb685f 100644 --- a/regamedll/dlls/cbase.cpp +++ b/regamedll/dlls/cbase.cpp @@ -872,11 +872,11 @@ BOOL CBaseEntity::IsInWorld() #endif // speed - if (pev->velocity.x >= maxvel || pev->velocity.y >= maxvel || pev->velocity.z >= maxvel) + if (pev->velocity.x > maxvel || pev->velocity.y > maxvel || pev->velocity.z > maxvel) { return FALSE; } - if (pev->velocity.x <= -maxvel || pev->velocity.y <= -maxvel || pev->velocity.z <= -maxvel) + if (pev->velocity.x < -maxvel || pev->velocity.y < -maxvel || pev->velocity.z < -maxvel) { return FALSE; }