aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRushor <PBienati@web.de>2015-05-22 14:37:44 +0200
committerRushor <PBienati@web.de>2015-05-22 15:36:20 +0200
commit9fcbe50ddbb4e8793bd63aeb008e90eda58d936f (patch)
tree20e2bd05a45cc93cccd88286a2702d5d8bd21a4d
parent0148832b322b58a5219ea4393331e1b5937c304c (diff)
Game/Spell: Spellmgr - Force Cast - Fix Typo
* introduced in https://github.com/TrinityCore/TrinityCore/commit/9d12df69ca77a6c5522a0803d6aa5b8328575a13#diff-f82ab5d79483dd6e1f5bd8c4d94299d3R2958
-rw-r--r--sql/updates/world/2015_05_22_00_world.sql2
-rw-r--r--src/server/game/Spells/SpellMgr.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/sql/updates/world/2015_05_22_00_world.sql b/sql/updates/world/2015_05_22_00_world.sql
new file mode 100644
index 00000000000..2949d0eca4a
--- /dev/null
+++ b/sql/updates/world/2015_05_22_00_world.sql
@@ -0,0 +1,2 @@
+--
+DELETE FROM `spell_target_position` WHERE `id`=63171;
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 191850516d4..250f3e58d4a 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -2955,7 +2955,7 @@ void SpellMgr::LoadSpellInfoCorrections()
switch (spellInfo->Id)
{
case 63026: // Force Cast (HACK: Target shouldn't be changed)
- case 63171: // Force Cast (HACK: Target shouldn't be changed; summon position should be untied from spell destination)
+ case 63137: // Force Cast (HACK: Target shouldn't be changed; summon position should be untied from spell destination)
spellInfo->Effects[0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_DB);
break;
case 53096: // Quetz'lun's Judgment