diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-25 21:54:45 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-25 21:54:45 +0000 |
commit | 1ba1ffc2ed124f779bad0877a9176c5b30a9aef7 (patch) | |
tree | 43f624d8a0244994b15b8d207cd9a3a2407099b1 /code | |
parent | 51e4f7930ae5e30f3d7a4a229c479afcab53398a (diff) | |
download | ioquake3-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')
-rw-r--r-- | code/qcommon/net_chan.c | 2 |
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) { |