From 16dcc0673abd8abe6016e0c41df94d1a65805f48 Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Fri, 6 Nov 2009 15:37:00 +0100 Subject: [PATCH] [8781] Remove old 100ms Linux hack in WorldRunnable. * This allows Linux OS to update world every 50ms like Windows (possible speed-up, but more CPU usage). * This hack was probably used because of old sockets lib, but we don't use this for worldd anymore. --- src/mangosd/WorldRunnable.cpp | 4 ---- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mangosd/WorldRunnable.cpp b/src/mangosd/WorldRunnable.cpp index b90cd4a72..28c4bf85b 100644 --- a/src/mangosd/WorldRunnable.cpp +++ b/src/mangosd/WorldRunnable.cpp @@ -30,11 +30,7 @@ #include "Database/DatabaseEnv.h" -#ifdef WIN32 #define WORLD_SLEEP_CONST 50 -#else -#define WORLD_SLEEP_CONST 100 //Is this still needed?? [On linux some time ago not working 50ms] -#endif #ifdef WIN32 #include "ServiceWin32.h" diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index e054693fc..f765e1f7a 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8780" + #define REVISION_NR "8781" #endif // __REVISION_NR_H__