diff options
| author | Chaz Brown <iamparadox@netscape.net> | 2009-09-24 17:34:29 -0400 |
|---|---|---|
| committer | Chaz Brown <iamparadox@netscape.net> | 2009-09-24 17:34:29 -0400 |
| commit | 135888af848a1ac1c39e12f7bd69ca5b1fdc1fbb (patch) | |
| tree | 2187a224ca2f0e42b3d1099b72e2acd52c52fe16 /src/framework | |
| parent | a1141b4a8b43c8daf090e018d822447c93c1c46a (diff) | |
* Hopefully, MTMaps will only be enabled in release, and not in debug modes (This was causing debug builds to not run under windows)
* Fixed a bug in AHBot where auctions being removed were sometimes seen as the wrong faction, leading to problems with replacing them with new auctions.
* Added loopbreaker back in, just in case...
--HG--
branch : trunk
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/Platform/Define.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index dc5c248bf8c..d29a53dbf31 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -137,11 +137,6 @@ typedef uint32 DWORD; typedef uint64 OBJECT_HANDLE; -#define MULTI_THREAD_MAP -#ifdef MULTI_THREAD_MAP -#define MAP_BASED_RAND_GEN -#endif - #define MaNGOS Trinity #define MANGOS_DLL_DECL TRINITY_DLL_DECL #define MANGOS_DLL_SPEC TRINITY_DLL_SPEC @@ -156,6 +151,14 @@ typedef uint64 OBJECT_HANDLE; # endif #endif +#if !defined(DEBUG) && !defined(MANGOS_DEBUG) && !defined(TRINITY_DEBUG) +#define MULTI_THREAD_MAP +#endif + +#ifdef MULTI_THREAD_MAP +#define MAP_BASED_RAND_GEN +#endif + #ifndef CLIENT_VER #define CLIENT_VER 313 #endif |
