diff options
| author | megamage <none@none> | 2009-03-25 16:07:19 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-25 16:07:19 -0600 |
| commit | 2106e9f25773fe5c9e376057e6c4703210c0b2fb (patch) | |
| tree | 67d2b0b74ffc9141c1e1439a3fb06fd8cffd95fa /src/game/Map.cpp | |
| parent | 02440eaa106834edbf36cedad13a3badc6a09abe (diff) | |
[7539] Fixed log output Author: AlexDereka
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
| -rw-r--r-- | src/game/Map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index ac71fd5bd79..fb649602c75 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -1850,8 +1850,8 @@ bool Map::CheckGridIntegrity(Creature* c, bool moved) const Cell xy_cell(xy_val); if(xy_cell != cur_cell) { - sLog.outDebug("%s (GUID: %u) X: %f Y: %f (%s) in grid[%u,%u]cell[%u,%u] instead grid[%u,%u]cell[%u,%u]", - (c->GetTypeId()==TYPEID_PLAYER ? "Player" : "Creature"),c->GetGUIDLow(), + sLog.outDebug("Creature (GUIDLow: %u) X: %f Y: %f (%s) in grid[%u,%u]cell[%u,%u] instead grid[%u,%u]cell[%u,%u]", + c->GetGUIDLow(), c->GetPositionX(),c->GetPositionY(),(moved ? "final" : "original"), cur_cell.GridX(), cur_cell.GridY(), cur_cell.CellX(), cur_cell.CellY(), xy_cell.GridX(), xy_cell.GridY(), xy_cell.CellX(), xy_cell.CellY()); |
