engine: host: force ENGINE_STEP_POSHISTORY_LERP for Counter-Strike and Condition Zero

This commit is contained in:
Alibek Omarov 2024-01-05 02:27:34 +03:00
parent 99e8f7b486
commit 6605d0456c

View File

@ -237,6 +237,10 @@ void Host_ValidateEngineFeatures( uint32_t features )
// don't allow unsupported bits // don't allow unsupported bits
features &= mask; 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 // print requested first
Host_PrintEngineFeatures( features ); Host_PrintEngineFeatures( features );