------------------------------------------------------------------------

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
This commit is contained in:
Spoike 2013-03-12 22:31:10 +00:00
parent fd13c057a0
commit 63d5c58871

View file

@ -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);