From 99e8f7b486645b2047d39318619b9a70bc54ecc3 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 5 Jan 2024 02:26:25 +0300 Subject: [PATCH] engine: host: fix warning about incompatible features bits --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index d6de7bd9..09c12c1c 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -241,7 +241,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 )) + 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