mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
* Make [sv|cl]_packetdelay work when timescale is not 1 (arQon)
This commit is contained in:
parent
43d31f7c3a
commit
f9c4003186
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue