chore(Core/Worldserver): restyle worldserver lib with astyle (#3463)
This commit is contained in:
parent
c141be8684
commit
d47d6d34f3
11 changed files with 139 additions and 137 deletions
|
|
@ -53,15 +53,15 @@ void WorldRunnable::run()
|
|||
avgDiffTracker.Update(executionTimeDiff > WORLD_SLEEP_CONST ? executionTimeDiff : WORLD_SLEEP_CONST);
|
||||
|
||||
if (executionTimeDiff < WORLD_SLEEP_CONST)
|
||||
acore::Thread::Sleep(WORLD_SLEEP_CONST-executionTimeDiff);
|
||||
acore::Thread::Sleep(WORLD_SLEEP_CONST - executionTimeDiff);
|
||||
|
||||
#ifdef _WIN32
|
||||
if (m_ServiceStatus == 0)
|
||||
World::StopNow(SHUTDOWN_EXIT_CODE);
|
||||
#ifdef _WIN32
|
||||
if (m_ServiceStatus == 0)
|
||||
World::StopNow(SHUTDOWN_EXIT_CODE);
|
||||
|
||||
while (m_ServiceStatus == 2)
|
||||
Sleep(1000);
|
||||
#endif
|
||||
while (m_ServiceStatus == 2)
|
||||
Sleep(1000);
|
||||
#endif
|
||||
}
|
||||
|
||||
sLog->SetLogDB(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue