Remove the mvd timeskip code.

After discussing things with Spike of FTE, it seems that not many clients
handle zero length mvd packets particularly well. While it the skip code
might be useful for qtv, getting the packets into one but not the other
seems to be not worth the effort at this stage.
This commit is contained in:
Bill Currie 2011-12-12 14:30:23 +09:00
parent 60c9d05d47
commit ab2fe9f6a7

View file

@ -165,17 +165,8 @@ write_msg (sizebuf_t *msg, int type, int to, float time, sizebuf_t *dst)
msec = (time - prevtime) * 1000;
prevtime += msec * 0.001;
if (msec > 2000)
msec = 2000;
while (msec > 250) {
//the maximum interval we can send is 255ms, but that's nasty with
//floats, so keep things to a nice round number of 250ms (0.25 is float
//friendly)
MSG_WriteByte (dst, 250);
MSG_WriteByte (dst, dem_read);
MSG_WriteLong (dst, 0);
msec -= 250;
}
if (msec > 255)
msec = 255;
if (msec < 2)
msec = 0;