From: Mario Date: Sat, 6 May 2017 12:32:14 +0000 (+1000) Subject: Revert physics client option check (possible cause of a kick) X-Git-Tag: xonotic-v0.8.5~2799 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=83f8515d11629bf338ac97ca0385c420fff5a8da;p=xonotic%2Fxonotic-data.pk3dir.git Revert physics client option check (possible cause of a kick) --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index b108aa92b..a8a32998e 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(IS_REAL_CLIENT(this) && Physics_Valid(this.cvar_cl_physics)) + if(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)