Reduced timeout from 10 to 5 seconds

This commit is contained in:
zicodxx 2012-05-10 18:54:22 +02:00
parent 57d3f3b34f
commit bfef7393d5
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ D2X-Rebirth Changelog
--------
main/multi.h, main/state.c: Reuse pre-defined player objects when loading coop savestate to revent messup when player amount or orders change in a certain way
main/menu.c, main/playsave.c, main/playsave.h, main/weapon.c: Wrote seperate function for weapon autocycling that also cycles through non-autoselect weapons and properly respects super laser; Added option to not autoselect weapon when firing; On the way, smoothed the menu text in misc menu a bit
net_udp.h: Reduced timeout from 10 to 5 seconds
20120509
--------

View file

@ -39,7 +39,7 @@ void net_udp_send_netgame_update();
#define UDP_MAX_NETGAMES 900
#define UDP_NETGAMES_PPAGE 12 // Netgames on one page of Netlist
#define UDP_NETGAMES_PAGES 75 // Pages available on Netlist (UDP_MAX_NETGAMES/UDP_NETGAMES_PPAGE)
#define UDP_TIMEOUT (10*F1_0) // 10 seconds disconnect timeout
#define UDP_TIMEOUT (5*F1_0) // 5 seconds disconnect timeout
#define UDP_MDATA_STOR_QUEUE_SIZE 500 // Store up to 500 MDATA packets
// UDP-Packet identificators (ubyte) and their (max. sizes).