From 8e00d3f06b472c702c2e90a4b92a29f21f8a2ee1 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 6 May 2017 22:48:47 +1000 Subject: [PATCH] Reapply physics client option check (not the cause, apparently) --- 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 a8a32998e..b108aa92b 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -15,7 +15,7 @@ bool Physics_Valid(string thecvar) float Physics_ClientOption(entity this, string option, float defaultval) { - if(Physics_Valid(this.cvar_cl_physics)) + if(IS_REAL_CLIENT(this) && Physics_Valid(this.cvar_cl_physics)) { string s = sprintf("g_physics_%s_%s", this.cvar_cl_physics, option); if(cvar_type(s) & CVAR_TYPEFLAG_EXISTS) -- 2.39.2