]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert physics client option check (possible cause of a kick)
authorMario <mario@smbclan.net>
Sat, 6 May 2017 12:32:14 +0000 (22:32 +1000)
committerMario <mario@smbclan.net>
Sat, 6 May 2017 12:32:14 +0000 (22:32 +1000)
qcsrc/common/physics/player.qc

index b108aa92bea049d370852621024595d6b086c694..a8a32998e48f8f01cc6c45f7dad82024e92ffe4d 100644 (file)
@@ -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)