From 63d5c588714374114105f325fe49c51dda576b7e Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 12 Mar 2013 22:31:10 +0000 Subject: [PATCH] ------------------------------------------------------------------------ r4172 | acceptthis | 2013-01-17 09:11:07 +0000 (Thu, 17 Jan 2013) | 1 line minimal doesn't have those defined. hrmph. ------------------------------------------------------------------------ git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4170 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/net_chan.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/engine/common/net_chan.c b/engine/common/net_chan.c index 0cdf60066..c847f1954 100644 --- a/engine/common/net_chan.c +++ b/engine/common/net_chan.c @@ -170,7 +170,17 @@ unsigned int Net_PextMask(int maskset, qboolean fornq) if (fornq) { //only ones that are tested - mask &= PEXT_CSQC | PEXT_FLOATCOORDS | PEXT_HLBSP | PEXT_Q2BSP | PEXT_Q3BSP; + mask &= +#ifdef PEXT_CSQC + PEXT_CSQC | +#endif +#ifdef PEXT_Q2BSP + PEXT_Q2BSP | +#endif +#ifdef PEXT_Q3BSP + PEXT_Q3BSP | +#endif + PEXT_FLOATCOORDS | PEXT_HLBSP; //these all depend fully upon the player/entity deltas, and don't make sense for NQ. Implement PEXT2_REPLACEMENTDELTAS instead. mask &= ~(PEXT_SCALE|PEXT_TRANS|PEXT_ACCURATETIMINGS|PEXT_FATNESS|PEXT_HULLSIZE|PEXT_MODELDBL|PEXT_ENTITYDBL|PEXT_ENTITYDBL2|PEXT_COLOURMOD|PEXT_SPAWNSTATIC2|PEXT_256PACKETENTITIES|PEXT_SETATTACHMENT|PEXT_DPFLAGS);