mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-27 06:01:11 +00:00
IOQ3 commit 2079
This commit is contained in:
parent
6de03c34f8
commit
9223dafed2
1 changed files with 60 additions and 66 deletions
|
@ -3103,11 +3103,6 @@ void Com_Frame( void ) {
|
|||
timeVal = 0;
|
||||
|
||||
do
|
||||
{
|
||||
// Busy sleep the last millisecond for better timeout precision
|
||||
if(timeVal < 2)
|
||||
NET_Sleep(0);
|
||||
else
|
||||
{
|
||||
if(com_sv_running->integer)
|
||||
{
|
||||
|
@ -3167,7 +3162,7 @@ void Com_Frame( void ) {
|
|||
}
|
||||
else
|
||||
{
|
||||
SV_SendDownloadMessages();
|
||||
if(SV_SendDownloadMessages())
|
||||
timeVal = 1;
|
||||
}
|
||||
}
|
||||
|
@ -3179,7 +3174,6 @@ void Com_Frame( void ) {
|
|||
NET_Sleep(0);
|
||||
else
|
||||
NET_Sleep(timeVal - 1);
|
||||
}
|
||||
|
||||
msec = Sys_Milliseconds() - com_frameTime;
|
||||
|
||||
|
|
Loading…
Reference in a new issue