From: bones_was_here Date: Wed, 5 Aug 2020 02:16:28 +0000 (+1000) Subject: Remove unnecessary ifdef by using STAT(Q3COMPAT) in SVQC as well as CSQC X-Git-Tag: xonotic-v0.8.5~352^2~56 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=724a0d4b1b05b4ce0139109a97b85d2dfe416d43;p=xonotic%2Fxonotic-data.pk3dir.git Remove unnecessary ifdef by using STAT(Q3COMPAT) in SVQC as well as CSQC --- diff --git a/qcsrc/common/mapobjects/trigger/jumppads.qc b/qcsrc/common/mapobjects/trigger/jumppads.qc index 25be46780..98fb32e03 100644 --- a/qcsrc/common/mapobjects/trigger/jumppads.qc +++ b/qcsrc/common/mapobjects/trigger/jumppads.qc @@ -134,11 +134,8 @@ bool jumppad_push(entity this, entity targ) return false; vector org = targ.origin; -#ifdef SVQC - if(q3compat) -#elif defined(CSQC) + if(STAT(Q3COMPAT)) -#endif { org.z += targ.mins_z; org.z += 1; // off by 1!