Core/Maps: Moved object respawn time storage from global to map level. This removes unneccessary locking since all objects run within its map's thread.
This commit is contained in:
1 parent
426145373b
commit
c7775c8d72
15 files changed
+189
-248
No files matched your search
@@ -110,6 +110,7 @@ Map* MapManager::CreateBaseMap(uint32 id)
|
||||
else
|
||||
{
|
||||
map = new Map(id, i_gridCleanUpDelay, 0, REGULAR_DIFFICULTY);
|
||||
map->LoadRespawnTimes();
|
||||
}
|
||||
i_maps[id] = map;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user