From: havoc Date: Tue, 22 May 2007 18:46:56 +0000 (+0000) Subject: enable svc_pointparticles1 protocol, because the pointparticles X-Git-Tag: xonotic-v0.1.0preview~3118 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b09cd8a49c595f87d1e24ea9174c74ebf39a4228;p=xonotic%2Fdarkplaces.git enable svc_pointparticles1 protocol, because the pointparticles extension is so new that compatibility with month-old clients that never officially supported the DP_SV_POINTPARTICLES feature is not a concern git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7338 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/svvm_cmds.c b/svvm_cmds.c index 0fb024e8..e57eedcc 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -2656,7 +2656,7 @@ static void VM_SV_pointparticles (void) VectorCopy(PRVM_G_VECTOR(OFS_PARM1), org); VectorCopy(PRVM_G_VECTOR(OFS_PARM2), vel); count = bound(0, (int)PRVM_G_FLOAT(OFS_PARM3), 65535); - if (count == 1 && !VectorLength2(vel) && (sv.protocol != PROTOCOL_QUAKE && sv.protocol != PROTOCOL_QUAKEDP && sv.protocol != PROTOCOL_NEHAHRAMOVIE && sv.protocol != PROTOCOL_DARKPLACES1 && sv.protocol != PROTOCOL_DARKPLACES2 && sv.protocol != PROTOCOL_DARKPLACES3 && sv.protocol != PROTOCOL_DARKPLACES4 && sv.protocol != PROTOCOL_DARKPLACES5 && sv.protocol != PROTOCOL_DARKPLACES6 && sv.protocol != PROTOCOL_DARKPLACES7)) + if (count == 1 && !VectorLength2(vel)) { // 1+2+12=15 bytes MSG_WriteByte(&sv.datagram, svc_pointparticles1);