aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-25 21:54:45 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-25 21:54:45 +0000
commit1ba1ffc2ed124f779bad0877a9176c5b30a9aef7 (patch)
tree43f624d8a0244994b15b8d207cd9a3a2407099b1 /code/qcommon
parent51e4f7930ae5e30f3d7a4a229c479afcab53398a (diff)
downloadioquake3-aero-1ba1ffc2ed124f779bad0877a9176c5b30a9aef7.tar.gz
ioquake3-aero-1ba1ffc2ed124f779bad0877a9176c5b30a9aef7.zip
* Make [sv|cl]_packetdelay work when timescale is not 1 (arQon)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1705 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/net_chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/net_chan.c b/code/qcommon/net_chan.c
index 8869c01..5b359f9 100644
--- a/code/qcommon/net_chan.c
+++ b/code/qcommon/net_chan.c
@@ -550,7 +550,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) {