diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Map.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 2b402f2fa42..d53c617e374 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -386,7 +386,7 @@ Map::EnsureGridCreated(const GridPair &p) Guard guard(*this); if(!getNGrid(p.x_coord, p.y_coord)) { - sLog.outDebug("Loading grid[%u,%u] for map %u", p.x_coord, p.y_coord, i_id); + sLog.outDebug("Creating grid[%u,%u] for map %u instance %u", p.x_coord, p.y_coord, i_id, i_InstanceId); setNGrid(new NGridType(p.x_coord*MAX_NUMBER_OF_GRIDS + p.y_coord, p.x_coord, p.y_coord, i_gridExpiry, sWorld.getConfig(CONFIG_GRID_UNLOAD)), p.x_coord, p.y_coord); @@ -443,6 +443,8 @@ bool Map::EnsureGridLoaded(const Cell &cell) assert(grid != NULL); if( !isGridObjectDataLoaded(cell.GridX(), cell.GridY()) ) { + sLog.outDebug("Loading grid[%u,%u] for map %u instance %u", cell.GridX(), cell.GridY(), i_id, i_InstanceId); + ObjectGridLoader loader(*grid, this, cell); loader.LoadN(); |