From: Mario Date: Sat, 15 Sep 2018 19:32:21 +0000 (+1000) Subject: Remove the stat for it (doesn't fix jumppad compatibility) X-Git-Tag: xonotic-v0.8.5~1863 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e67e01d4fdf7d850e384b73acf1d63f61a65f0e3;p=xonotic%2Fxonotic-data.pk3dir.git Remove the stat for it (doesn't fix jumppad compatibility) --- diff --git a/qcsrc/common/mapobjects/trigger/jumppads.qc b/qcsrc/common/mapobjects/trigger/jumppads.qc index b32b4d262..5ffdf2d10 100644 --- a/qcsrc/common/mapobjects/trigger/jumppads.qc +++ b/qcsrc/common/mapobjects/trigger/jumppads.qc @@ -334,8 +334,7 @@ bool trigger_push_test(entity this, entity item) { // first calculate a typical start point for the jump vector org = (this.absmin + this.absmax) * 0.5; - if(!STAT(VQ3COMPAT)) - org.z = this.absmax.z - PL_MIN_CONST.z - 7; + org.z = this.absmax.z - PL_MIN_CONST.z - 7; if (this.target) { diff --git a/qcsrc/common/stats.qh b/qcsrc/common/stats.qh index 369042b77..9b8f04041 100644 --- a/qcsrc/common/stats.qh +++ b/qcsrc/common/stats.qh @@ -301,11 +301,6 @@ bool autocvar_sv_slick_applygravity; #endif REGISTER_STAT(SLICK_APPLYGRAVITY, bool, autocvar_sv_slick_applygravity) -#ifdef SVQC -bool autocvar_sv_vq3compat; -#endif -REGISTER_STAT(VQ3COMPAT, bool, autocvar_sv_vq3compat) - #ifdef SVQC #include "physics/movetypes/movetypes.qh" float warmup_limit; diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index 4e180f731..2d19f6f9a 100644 --- a/qcsrc/server/autocvars.qh +++ b/qcsrc/server/autocvars.qh @@ -316,6 +316,7 @@ string autocvar_sv_motd; bool autocvar_sv_precacheplayermodels; //float autocvar_sv_precacheweapons; // WEAPONTODO? bool autocvar_sv_q3acompat_machineshotgunswap; +bool autocvar_sv_vq3compat; bool autocvar_sv_servermodelsonly; int autocvar_sv_spectate; float autocvar_sv_spectator_speed_multiplier;