Core/ObjMgr: Use proper mutex object for SaveGORespawnTime

Author: toshik.777
Fixes issue #4399

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-11-09 15:10:10 +01:00
parent dcc26dd801
commit b690856e91
+1 -1
View File
@@ -7546,7 +7546,7 @@ void ObjectMgr::SaveGORespawnTime(uint32 loguid, uint32 instance, time_t t)
{ {
// This function can be called from different map threads concurrently // This function can be called from different map threads concurrently
{ {
ACE_GUARD(ACE_Thread_Mutex, guard, m_CreatureRespawnTimesMtx); ACE_GUARD(ACE_Thread_Mutex, guard, m_GORespawnTimesMtx);
mGORespawnTimes[MAKE_PAIR64(loguid,instance)] = t; mGORespawnTimes[MAKE_PAIR64(loguid,instance)] = t;
} }