* Make [sv|cl]_packetdelay work when timescale is not 1 (arQon)

This commit is contained in:
Tim Angus 2009-10-25 21:54:45 +00:00
parent 43d31f7c3a
commit f9c4003186
1 changed files with 1 additions and 1 deletions

View File

@ -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) {