]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Rename stat Q3DEFRAGCOMPAT to Q3COMPAT and change type to int
authorbones_was_here <bones_was_here@yahoo.com.au>
Tue, 14 Jul 2020 13:19:16 +0000 (23:19 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Tue, 14 Jul 2020 13:19:16 +0000 (23:19 +1000)
qcsrc/common/mapobjects/trigger/jumppads.qc
qcsrc/common/stats.qh

index 66daba8307cfb693fb8acca30768fd6795c55a93..84850fee7a2d16b87729f2812f62dc1b92423f7c 100644 (file)
@@ -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;
index f00a29adae5c8056910c3c284132691f4a3adb4e..a0bde6b925ef51333e85a9ac51d816c07aeaf31f 100644 (file)
@@ -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"