Merge branch Mario/xonoticless_fix (M merge request)
Moves some stuff around so the game code can be compiled with -DXONOTIC=0 again.
See merge request !381
#define X(OFFSET) \
tracebox(this.origin, this.mins, this.maxs, this.origin + OFFSET, true, this); \
- if(trace_fraction < 1 && vdist(this.origin - trace_endpos, <, threshold)) \
+ if(trace_fraction < 1 && !(trace_dphitq3surfaceflags & Q3SURFACEFLAG_SKY) && vdist(this.origin - trace_endpos, <, threshold)) \
return true;
X(1000*v_right);
X(-1000*v_right);