Browse Source

engine: host: fix -Werror=parentheses

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

2
engine/common/host.c

@ -245,7 +245,7 @@ void Host_ValidateEngineFeatures( uint32_t features ) @@ -245,7 +245,7 @@ void Host_ValidateEngineFeatures( uint32_t features )
Host_PrintEngineFeatures( features );
// now warn about incompatible bits
if( FBitSet( features, ENGINE_STEP_POSHISTORY_LERP|ENGINE_COMPUTE_STUDIO_LERP ) == 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__ );
// finally set global variable

Loading…
Cancel
Save