From d9e207816e24292126a37fd188969cf94d9afd4d Mon Sep 17 00:00:00 2001 From: def Date: Fri, 26 Dec 2014 00:53:03 +0100 Subject: [PATCH] Try only to make performant server on non-Windows --- src/engine/server/server.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index 15de898ae..ba5685416 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -1628,7 +1628,9 @@ int CServer::Run() if(NonActive) PumpNetwork(); +#ifndef CONF_FAMILY_WINDOWS set_new_tick(); +#endif int64 t = time_get(); int NewTicks = 0; @@ -1722,7 +1724,9 @@ int CServer::Run() } else { +#ifndef CONF_FAMILY_WINDOWS set_new_tick(); +#endif int64 t = time_get(); int x = (TickStartTime(m_CurrentGameTick+1) - t) * 1000000 / time_freq() + 1;