mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Change some log level.
--HG-- branch : trunk
This commit is contained in:
@@ -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