*Change some log level.
--HG-- branch : trunk
This commit is contained in:
1 parent
3fc9224338
commit
70e1f12b16
3 files changed
+5
-5
No files matched your search
@@ -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 ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user