- Guests can now watch as other guests connect during i_net handshaking.
- Fixed: The host would let more than the desired number of players connect. - Decreased the frequency of packets in ST_NetLoop() to two per second. - Fixed: During the i_net handshaking, guests never verified that the messages they received were from the host. - Removed the -net command line option. I'm not sure it even worked anymore. SVN r421 (trunk)
This commit is contained in:
parent
e1bd63e876
commit
1360a1d89e
5 changed files with 144 additions and 101 deletions
|
|
@ -199,7 +199,7 @@ void ST_NetProgress(int count)
|
|||
//
|
||||
// ST_NetLoop
|
||||
//
|
||||
// The timer_callback function is called approximately four times per second
|
||||
// The timer_callback function is called approximately two times per second
|
||||
// and passed the userdata value. It should return true to stop the loop and
|
||||
// return control to the caller or false to continue the loop.
|
||||
//
|
||||
|
|
@ -214,7 +214,7 @@ bool ST_NetLoop(bool (*timer_callback)(void *), void *userdata)
|
|||
BOOL bRet;
|
||||
MSG msg;
|
||||
|
||||
if (SetTimer (Window, 1337, 250, NULL) == 0)
|
||||
if (SetTimer (Window, 1337, 500, NULL) == 0)
|
||||
{
|
||||
I_FatalError ("Could not set network synchronization timer.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue