From f6b78fe39dfe6806f34371b28e7b382de578163f Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Tue, 24 Mar 2009 20:58:52 +0100 Subject: * Re-implemented SHORT_SLEEP (-DSHORT_SLEEP=1 in Cmake). --HG-- branch : trunk --- src/trinitycore/WorldRunnable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/trinitycore/WorldRunnable.cpp b/src/trinitycore/WorldRunnable.cpp index 607b60684a9..6583fb8a1ba 100644 --- a/src/trinitycore/WorldRunnable.cpp +++ b/src/trinitycore/WorldRunnable.cpp @@ -33,7 +33,7 @@ #include "Database/DatabaseEnv.h" -#ifdef WIN32 +#if (defined(WIN32) || defined(SHORT_SLEEP)) #define WORLD_SLEEP_CONST 50 #else #define WORLD_SLEEP_CONST 100 //Is this still needed?? [On linux some time ago not working 50ms] -- cgit v1.2.3