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:
Edward Richardson 2014-07-29 11:06:02 +12:00
parent 993b6c3066
commit 6af441c4d7

View file

@ -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 }
} }