mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-28 14:51:19 +00:00
- compile error fix for linux
This commit is contained in:
parent
efa8f3447d
commit
6f38ecad9b
2 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ void NetClient::SetCurrentTic(int tictime)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (mServerTicDelta == -1 || std::abs(gametic + mServerTicDelta - mLastReceivedTic) > jitter)
|
if (mServerTicDelta == -1 || abs(gametic + mServerTicDelta - mLastReceivedTic) > jitter)
|
||||||
{
|
{
|
||||||
//Printf("netcable icon! ;)\n");
|
//Printf("netcable icon! ;)\n");
|
||||||
mServerTicDelta = mLastReceivedTic - gametic - jitter;
|
mServerTicDelta = mLastReceivedTic - gametic - jitter;
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#include "x86.h"
|
#include "x86.h"
|
||||||
|
|
||||||
#include "d_main.h"
|
#include "d_main.h"
|
||||||
#include "d_net.h"
|
#include "network/net.h"
|
||||||
#include "g_game.h"
|
#include "g_game.h"
|
||||||
#include "c_dispatch.h"
|
#include "c_dispatch.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue