mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
Dup frames shouldn't adapt.
Adapting during a dup frame caused jittery network performance (especially when using high dup values). The demoplayback check also didn't need to be there anyway.
This commit is contained in:
parent
993b6c3066
commit
6af441c4d7
1 changed files with 2 additions and 2 deletions
|
@ -1276,7 +1276,7 @@ void NetUpdate (void)
|
|||
// listen for other packets
|
||||
GetPackets ();
|
||||
|
||||
if (!demoplayback)
|
||||
if (!resendOnly)
|
||||
{
|
||||
// ideally nettics[0] should be 1 - 3 tics above lowtic
|
||||
// if we are consistantly slower, speed up time
|
||||
|
@ -1323,7 +1323,7 @@ void NetUpdate (void)
|
|||
}
|
||||
oldnettics = nettics[0];
|
||||
}
|
||||
}// !demoplayback
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue