- removed the packet averaging code.

This is also part of the backend code and won't be needed here anymore.
This commit is contained in:
Christoph Oelckers 2020-09-02 16:52:00 +02:00
parent e19923ce4b
commit 621a1e0b3d
2 changed files with 2 additions and 54 deletions

View file

@ -227,12 +227,6 @@ extern int gameclock;
extern uint64_t gameclockstart;
extern int lastTic;
inline void setGameClockStart()
{
gameclockstart = I_GetTimeNS();
gameclock = 0;
}
inline void updateGameClock()
{
gameclock = static_cast<int>((I_GetTimeNS() - gameclockstart) * 120 / 1'000'000'000);