Make access to ObjectMgr´s creature and gobject respawntime storage threadsafe.

(TODO: Maybe this should be stored on map level instead)
Fixes issue #3006
Fixes issue #3071

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-08-13 01:16:50 +02:00
parent 91eed572af
commit b98874fce0
2 changed files with 31 additions and 14 deletions
+2
View File
@@ -1084,7 +1084,9 @@ class ObjectMgr
GossipMenuItemsLocaleMap mGossipMenuItemsLocaleMap;
PointOfInterestLocaleMap mPointOfInterestLocaleMap;
RespawnTimes mCreatureRespawnTimes;
ACE_Thread_Mutex m_CreatureRespawnTimesMtx;
RespawnTimes mGORespawnTimes;
ACE_Thread_Mutex m_GORespawnTimesMtx;
CacheNpcTextIdMap m_mCacheNpcTextIdMap;
CacheVendorItemMap m_mCacheVendorItemMap;