From 6605d0456cb5c1cd07945865e7fc2f4292b5976f Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 5 Jan 2024 02:27:34 +0300 Subject: [PATCH] engine: host: force ENGINE_STEP_POSHISTORY_LERP for Counter-Strike and Condition Zero --- engine/common/host.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/common/host.c b/engine/common/host.c index 09c12c1c..f5b96372 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -237,6 +237,10 @@ void Host_ValidateEngineFeatures( uint32_t features ) // don't allow unsupported bits features &= mask; + // force bits for some games + if( !Q_stricmp( GI->gamefolder, "cstrike" ) || !Q_stricmp( GI->gamefolder, "czero" )) + SetBits( features, ENGINE_STEP_POSHISTORY_LERP ); + // print requested first Host_PrintEngineFeatures( features );