diff --git a/qw/source/sv_recorder.c b/qw/source/sv_recorder.c index 9e9842758..f4e9cdabb 100644 --- a/qw/source/sv_recorder.c +++ b/qw/source/sv_recorder.c @@ -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;