engine: host: fix warning about incompatible features bits

This commit is contained in:
Alibek Omarov 2024-01-05 02:26:25 +03:00
parent 5ac8f63741
commit 99e8f7b486

View File

@ -241,7 +241,7 @@ void Host_ValidateEngineFeatures( uint32_t features )
Host_PrintEngineFeatures( features ); Host_PrintEngineFeatures( features );
// now warn about incompatible bits // now warn about incompatible bits
if( FBitSet( features, ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP )) if( FBitSet( features, ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP ) == ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP )
Con_Printf( S_WARN "%s: incompatible ENGINE_STEP_POSHISTORY_LERP and ENGINE_COMPUTE_STUDIO_LERP are enabled!\n", __func__ ); Con_Printf( S_WARN "%s: incompatible ENGINE_STEP_POSHISTORY_LERP and ENGINE_COMPUTE_STUDIO_LERP are enabled!\n", __func__ );
// finally set global variable // finally set global variable