[quake3-commits] r1705 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Oct 25 17:54:45 EDT 2009
Author: tma
Date: 2009-10-25 17:54:45 -0400 (Sun, 25 Oct 2009)
New Revision: 1705
Modified:
trunk/code/qcommon/net_chan.c
Log:
* Make [sv|cl]_packetdelay work when timescale is not 1 (arQon)
Modified: trunk/code/qcommon/net_chan.c
===================================================================
--- trunk/code/qcommon/net_chan.c 2009-10-25 21:48:48 UTC (rev 1704)
+++ trunk/code/qcommon/net_chan.c 2009-10-25 21:54:45 UTC (rev 1705)
@@ -550,7 +550,7 @@
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) {
More information about the quake3-commits
mailing list