mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- 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:
parent
e19923ce4b
commit
621a1e0b3d
2 changed files with 2 additions and 54 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue