aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-14 18:24:35 -0500
committermegamage <none@none>2009-04-14 18:24:35 -0500
commit07f48aa934141209285e56c848c1094ed6d35978 (patch)
tree394fe47f0c5d114d7633abcd6f700d1fbbb16985 /src
parent16d44a589dee7ed3e299a90d9bbe4939491bb8fd (diff)
*Change some log info about grid.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Map.cpp4
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();