mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
feat(Core/Threading): replace ace threading (#4821)
This commit is contained in:
@@ -404,7 +404,7 @@ void Map::EnsureGridCreated(const GridCoord& p)
|
||||
{
|
||||
if (getNGrid(p.x_coord, p.y_coord)) // pussywizard
|
||||
return;
|
||||
ACORE_GUARD(ACE_Thread_Mutex, GridLock);
|
||||
std::lock_guard<std::mutex> guard(GridLock);
|
||||
EnsureGridCreated_i(p);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user