diff options
| author | click <none@none> | 2010-08-22 01:57:04 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-08-22 01:57:04 +0200 |
| commit | 670964803f030c6d2b85d4281605ab221f5a5740 (patch) | |
| tree | 5babaf3c1c2f7833bf2be8b10a1f7bec78722751 /src/server/game/Spells/SpellEffects.cpp | |
| parent | a40cb46e610aefde8b270b34e9b510e76470a6b6 (diff) | |
Core: Fix more warnings, add new function sLog.outStaticDebug() that replaces DEBUG_LOG
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index dc870431bf1..f7768608090 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -2081,7 +2081,7 @@ void Spell::EffectTriggerMissileSpell(uint32 effect_idx) } if (m_CastItem) - DEBUG_LOG("WORLD: cast Item spellId - %i", spellInfo->Id); + sLog.outStaticDebug("WORLD: cast Item spellId - %i", spellInfo->Id); // Remove spell cooldown (not category) if spell triggering spell with cooldown and same category // Needed by freezing arrow and few other spells @@ -6736,7 +6736,7 @@ void Spell::EffectTransmitted(uint32 effIndex) //pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel()); pGameObj->SetSpellId(m_spellInfo->Id); - DEBUG_LOG("AddObject at SpellEfects.cpp EffectTransmitted"); + sLog.outStaticDebug("AddObject at SpellEfects.cpp EffectTransmitted"); //m_caster->AddGameObject(pGameObj); //m_ObjToDel.push_back(pGameObj); @@ -7385,11 +7385,11 @@ void Spell::EffectBind(uint32 i) data << uint32(area_id); player->SendDirectMessage( &data ); - DEBUG_LOG("New homebind X : %f", loc.m_positionX); - DEBUG_LOG("New homebind Y : %f", loc.m_positionY); - DEBUG_LOG("New homebind Z : %f", loc.m_positionZ); - DEBUG_LOG("New homebind MapId : %u", loc.m_mapId); - DEBUG_LOG("New homebind AreaId : %u", area_id); + sLog.outStaticDebug("New homebind X : %f", loc.m_positionX); + sLog.outStaticDebug("New homebind Y : %f", loc.m_positionY); + sLog.outStaticDebug("New homebind Z : %f", loc.m_positionZ); + sLog.outStaticDebug("New homebind MapId : %u", loc.m_mapId); + sLog.outStaticDebug("New homebind AreaId : %u", area_id); // zone update data.Initialize(SMSG_PLAYERBOUND, 8+4); |
