summaryrefslogtreecommitdiff
path: root/src/qcommon/net_chan.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-26 00:10:07 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:05 +0000
commit0fed3b1c32d99560482ea162b197531439df76e5 (patch)
treedd5f74d3124715a538462aa474f9af294f79bbbd /src/qcommon/net_chan.c
parentaf6fd4fa5aaa4dc7c59ae54ead20d5ef0fbcc946 (diff)
* Merge ioq3-r1708
Diffstat (limited to 'src/qcommon/net_chan.c')
-rw-r--r--src/qcommon/net_chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/net_chan.c b/src/qcommon/net_chan.c
index 246cd0b0..b336feb6 100644
--- a/src/qcommon/net_chan.c
+++ b/src/qcommon/net_chan.c
@@ -552,7 +552,7 @@ static void NET_QueuePacket( int length, const void *data, netadr_t to,
Com_Memcpy(new->data, data, length);
new->length = length;
new->to = to;
- new->release = Sys_Milliseconds() + offset;
+ new->release = Sys_Milliseconds() + (int)((float)offset / com_timescale->value);
new->next = NULL;
if(!packetQueue) {