From 2f9895438cd93e857417c4db4ee5df9310c18a8f Mon Sep 17 00:00:00 2001 From: Star1xr Date: Fri, 15 May 2026 17:32:42 +0300 Subject: [PATCH] FIX: remove const from IsSteamDeck to match KeyValues.h and fix build error --- game/client/cdll_client_int.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/client/cdll_client_int.cpp b/game/client/cdll_client_int.cpp index 702639e2..a9f90699 100644 --- a/game/client/cdll_client_int.cpp +++ b/game/client/cdll_client_int.cpp @@ -355,7 +355,7 @@ static ConVar *g_pcv_ThreadMode = NULL; // GAMEPADUI TODO - put this somewhere better. (Madi) #if defined( GAMEPADUI ) -const bool IsSteamDeck() +bool IsSteamDeck() { if ( CommandLine()->FindParm( "-gamepadui" ) ) return true;