diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 65d2b86c1..b77d547d2 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D1X-Rebirth Changelog +20101203 +-------- +main/net_udp.c: Made resent_delay for net_udp_noloss_process_queue() a bit longer depending on the player's ping + 20101130 -------- include/hmp.h, misc/hmp.c: Little fixes for rev939 - changed definition from WIN32 to _WIN32, added little hack for incorrectly set HMP loop in Descent2-version of descent.hmp diff --git a/main/net_udp.c b/main/net_udp.c index a0b0eebc8..601c6035c 100644 --- a/main/net_udp.c +++ b/main/net_udp.c @@ -3998,10 +3998,8 @@ void net_udp_noloss_process_queue(fix time) if (!UDP_mdata_queue[queuec].player_ack[plc]) { // Set resend interval - if (Netgame.players[plc].ping < 20) - resend_delay = (F1_0/20); - else if (Netgame.players[plc].ping < 500) - resend_delay = i2f(Netgame.players[plc].ping + (Netgame.players[plc].ping/10)); + if (Netgame.players[plc].ping < 100) + resend_delay = (F1_0/3); else resend_delay = (F1_0/2);