Reduced timeout from 10 to 5 seconds
This commit is contained in:
parent
9de6618ba0
commit
a84bdf917f
|
@ -4,6 +4,7 @@ D1X-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; 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
|
||||
--------
|
||||
|
|
|
@ -38,7 +38,7 @@ void net_udp_send_mdata_direct(ubyte *data, int data_len, int pnum, int priority
|
|||
#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).
|
||||
|
|
Loading…
Reference in a new issue