vector org = targ.origin;
- if(STAT(Q3COMPAT))
- {
- org.z += targ.mins_z;
- org.z += 1; // off by 1!
- }
+ if(Q3COMPAT_COMMON || this.spawnflags & PUSH_STATIC)
+ org = (this.absmin + this.absmax) * 0.5;
if(this.enemy)
{
const int PUSH_ONCE = BIT(0); // legacy, deactivate with relay instead
const int PUSH_SILENT = BIT(1); // not used?
+const int PUSH_STATIC = BIT(12); // xonotic-only, Q3 already behaves like this by default
IntrusiveList g_jumppads;
STATIC_INIT(g_jumppads) { g_jumppads = IL_NEW(); }