aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Map.cpp2
-rw-r--r--src/game/Spell.cpp2
-rw-r--r--src/game/World.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index fc47647ea94..3958f0ea8bf 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -1384,7 +1384,7 @@ bool Map::CheckGridIntegrity(Creature* c, bool moved) const
Cell xy_cell(xy_val);
if(xy_cell != cur_cell)
{
- sLog.outError("ERROR: %s (GUID: %u) X: %f Y: %f (%s) in grid[%u,%u]cell[%u,%u] instead grid[%u,%u]cell[%u,%u]",
+ sLog.outDebug("ERROR: %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(),
c->GetPositionX(),c->GetPositionY(),(moved ? "final" : "original"),
cur_cell.GridX(), cur_cell.GridY(), cur_cell.CellX(), cur_cell.CellY(),
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 3ff55891eef..d48550def0c 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -172,6 +172,7 @@ bool SpellCastTargets::read ( WorldPacket * data, Unit *caster )
return false;
*data >> m_targetMask;
+ sLog.outDebug("Spell read, target mask = %u", m_targetMask);
if(m_targetMask == TARGET_FLAG_SELF)
return true;
@@ -230,6 +231,7 @@ bool SpellCastTargets::read ( WorldPacket * data, Unit *caster )
void SpellCastTargets::write ( WorldPacket * data )
{
*data << uint32(m_targetMask);
+ sLog.outDebug("Spell write, target mask = %u", m_targetMask);
if( m_targetMask & ( TARGET_FLAG_UNIT | TARGET_FLAG_PVP_CORPSE | TARGET_FLAG_OBJECT | TARGET_FLAG_CORPSE | TARGET_FLAG_UNK2 ) )
{
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 749b9dc8826..5abdb17d6cf 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1428,17 +1428,15 @@ void World::RecordTimeDiff(const char *text, ...)
return;
}
- sLog.outDebugInLine("Difftime ");
+ uint32 thisTime = getMSTime();
va_list ap;
char str [256];
va_start(ap, text);
vsnprintf(str,256,text, ap );
va_end(ap);
- sLog.outDebugInLine(str);
+ sLog.outDetail("Difftime %s: %u.", str, getMSTimeDiff(m_currentTime, thisTime));
- uint32 thisTime = getMSTime();
- sLog.outDebug(": %u.", getMSTimeDiff(m_currentTime, thisTime));
m_currentTime = thisTime;
}