Try only to make performant server on non-Windows

This commit is contained in:
def 2014-12-26 00:53:03 +01:00
parent 91dfe9fd1b
commit d9e207816e

View file

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