[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.
This commit is contained in:
XTZGZoReX 2009-11-06 15:37:00 +01:00 committed by unknown
parent 64848ac380
commit 16dcc0673a
2 changed files with 1 additions and 5 deletions

View file

@ -30,11 +30,7 @@
#include "Database/DatabaseEnv.h" #include "Database/DatabaseEnv.h"
#ifdef WIN32
#define WORLD_SLEEP_CONST 50 #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 #ifdef WIN32
#include "ServiceWin32.h" #include "ServiceWin32.h"

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8780" #define REVISION_NR "8781"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__