From 19b603e0ddb19b4db9065b95c2241d5373ad029a Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Sun, 26 Nov 2023 11:18:45 +0700 Subject: [PATCH] Update cbase.cpp use float type --- regamedll/dlls/cbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;