aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKandera <KanderaDev@gmail.com>2012-04-25 14:21:56 -0400
committerKandera <KanderaDev@gmail.com>2012-04-25 14:21:56 -0400
commit1b5fa3a6f3cc1ac0ace75a3d0676e7ea044eb0de (patch)
treef7b01e28866906f14779fe9f95091cbba86d6e06
parent13b68af78dbc51f44656ecfddb1bfb27dc44a21a (diff)
Core/Spells: fix sql file from previous commit and add newline after load function
-rw-r--r--sql/updates/world/2012_04_25_02_world_spell_script_names.sql1
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/sql/updates/world/2012_04_25_02_world_spell_script_names.sql b/sql/updates/world/2012_04_25_02_world_spell_script_names.sql
index 6d8974664f4..ea6b95559c6 100644
--- a/sql/updates/world/2012_04_25_02_world_spell_script_names.sql
+++ b/sql/updates/world/2012_04_25_02_world_spell_script_names.sql
@@ -1,4 +1,3 @@
-select id from spell_scripts where command = 18 order by id asc;
DELETE FROM `spell_scripts` WHERE `id` IN (15998,25952,29435,45980,51592,51910,52267,54420);
DELETE FROM `spell_script_names` WHERE `spell_id` IN (15998,25952,29435,45980,51592,51910,52267,54420);
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index f7e895f97f4..3f75c7d41a9 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -2669,6 +2669,7 @@ public:
{
return GetCaster()->GetTypeId() == TYPEID_UNIT;
}
+
void HandleDummy(SpellEffIndex effIndex)
{
GetCaster()->ToCreature()->DespawnOrUnsummon();