overflow without overflow set should now be gone when playing back mvds server side.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@581 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-06 01:52:32 +00:00
parent 784d080071
commit f63916139d
1 changed files with 9 additions and 0 deletions

View File

@ -1701,6 +1701,13 @@ void NPP_MVDFlush(void)
writedest = &sv.multicast;
else
multicastpos = 0;
if (writedest == &sv.reliable_datagram)
{
writedest = &sv.multicast;
multicasttype = MULTICAST_ALL_R;
}
if (bufferlen)
SZ_Write(writedest, buffer, bufferlen);
@ -1718,6 +1725,8 @@ void NPP_MVDFlush(void)
SV_MulticastProtExt(org, multicasttype, FULLDIMENSIONMASK, requireextension, 0);
}
else if (writedest == &sv.multicast)
SV_MulticastProtExt(vec3_origin, multicasttype, FULLDIMENSIONMASK, requireextension, 0);
writedest = NULL;
}
bufferlen = 0;