From 5fbc8f1de41958cbcbbf5d1c9a3457b3a2075284 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 27 Aug 2010 18:11:21 +0200 Subject: Scripts/Icecrown Citadel: Added hacky workaround for teleporting spells because their default target is not supported by current grid system Scripts/Icecrown Citadel: Mark Gunship event as complete on Lady Deathwhisper's death (temporary, until transport system will fully allow scripting the event) --HG-- branch : trunk --- src/server/game/Spells/Spell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/game/Spells/Spell.cpp') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 69987f962fc..c6616d0625b 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2221,7 +2221,7 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) Unit *target = m_targets.getUnitTarget(); if (!target) { - sLog.outError("SPELL: no unit target for spell ID %u\n", m_spellInfo->Id); + sLog.outError("SPELL: no unit target for spell ID %u", m_spellInfo->Id); break; } @@ -2264,7 +2264,7 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) { if (!m_targets.HasDst()) { - sLog.outError("SPELL: no destination for spell ID %u\n", m_spellInfo->Id); + sLog.outError("SPELL: no destination for spell ID %u", m_spellInfo->Id); break; } -- cgit v1.2.3