From: bones_was_here Date: Tue, 14 Jul 2020 13:19:16 +0000 (+1000) Subject: Rename stat Q3DEFRAGCOMPAT to Q3COMPAT and change type to int X-Git-Tag: xonotic-v0.8.5~352^2~64 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f8b97388be93da7db94dac10ac95e036bf9bd755;p=xonotic%2Fxonotic-data.pk3dir.git Rename stat Q3DEFRAGCOMPAT to Q3COMPAT and change type to int --- diff --git a/qcsrc/common/mapobjects/trigger/jumppads.qc b/qcsrc/common/mapobjects/trigger/jumppads.qc index 66daba830..84850fee7 100644 --- a/qcsrc/common/mapobjects/trigger/jumppads.qc +++ b/qcsrc/common/mapobjects/trigger/jumppads.qc @@ -137,7 +137,7 @@ bool jumppad_push(entity this, entity targ) #ifdef SVQC if(q3compat) #elif defined(CSQC) - if(STAT(Q3DEFRAGCOMPAT)) + if(STAT(Q3COMPAT)) #endif { org.z += targ.mins_z; diff --git a/qcsrc/common/stats.qh b/qcsrc/common/stats.qh index f00a29ada..a0bde6b92 100644 --- a/qcsrc/common/stats.qh +++ b/qcsrc/common/stats.qh @@ -324,7 +324,7 @@ bool autocvar_sv_slick_applygravity; #endif REGISTER_STAT(SLICK_APPLYGRAVITY, bool, autocvar_sv_slick_applygravity) -REGISTER_STAT(Q3DEFRAGCOMPAT, bool, q3compat) +REGISTER_STAT(Q3COMPAT, int, q3compat) #ifdef SVQC #include "physics/movetypes/movetypes.qh"