From c4bfc800d006b30c28997f2a275479843e62379e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 18 Jan 2018 23:12:30 +1000 Subject: [PATCH] Double check g_physics_clientselect_default --- qcsrc/common/physics/player.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 20c580a85..7d3cab007 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -21,7 +21,7 @@ float Physics_ClientOption(entity this, string option, float defaultval) if(cvar_type(s) & CVAR_TYPEFLAG_EXISTS) return cvar(s); } - if(autocvar_g_physics_clientselect && autocvar_g_physics_clientselect_default) + if(autocvar_g_physics_clientselect && autocvar_g_physics_clientselect_default && autocvar_g_physics_clientselect_default != "") { string s = strcat("g_physics_", autocvar_g_physics_clientselect_default, "_", option); if(cvar_type(s) & CVAR_TYPEFLAG_EXISTS) -- 2.39.2