From: Mario Date: Sat, 6 May 2017 12:48:47 +0000 (+1000) Subject: Reapply physics client option check (not the cause, apparently) X-Git-Tag: xonotic-v0.8.5~2798 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8e00d3f06b472c702c2e90a4b92a29f21f8a2ee1;p=xonotic%2Fxonotic-data.pk3dir.git Reapply physics client option check (not the cause, apparently) --- 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)