Browse Source

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

pull/2/head
Alibek Omarov 11 months ago
parent
commit
6605d0456c
  1. 4
      engine/common/host.c

4
engine/common/host.c

@ -237,6 +237,10 @@ void Host_ValidateEngineFeatures( uint32_t features ) @@ -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 );

Loading…
Cancel
Save