mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-18 01:21:32 +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
|
// listen for other packets
|
||||||
GetPackets ();
|
GetPackets ();
|
||||||
|
|
||||||
if (!demoplayback)
|
if (!resendOnly)
|
||||||
{
|
{
|
||||||
// ideally nettics[0] should be 1 - 3 tics above lowtic
|
// ideally nettics[0] should be 1 - 3 tics above lowtic
|
||||||
// if we are consistantly slower, speed up time
|
// if we are consistantly slower, speed up time
|
||||||
|
@ -1323,7 +1323,7 @@ void NetUpdate (void)
|
||||||
}
|
}
|
||||||
oldnettics = nettics[0];
|
oldnettics = nettics[0];
|
||||||
}
|
}
|
||||||
}// !demoplayback
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue