Skip to content

Commit

Permalink
* Make [sv|cl]_packetdelay work when timescale is not 1 (arQon)
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Oct 25, 2009
1 parent 43d31f7 commit f9c4003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/qcommon/net_chan.c
Expand Up @@ -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) {
Expand Down

0 comments on commit f9c4003

Please sign in to comment.