From e67e01d4fdf7d850e384b73acf1d63f61a65f0e3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 16 Sep 2018 05:32:21 +1000 Subject: [PATCH] Remove the stat for it (doesn't fix jumppad compatibility) --- qcsrc/common/mapobjects/trigger/jumppads.qc | 3 +-- qcsrc/common/stats.qh | 5 ----- qcsrc/server/autocvars.qh | 1 + 3 files changed, 2 insertions(+), 7 deletions(-) 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; -- 2.39.2