aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiscover- <amort11@hotmail.com>2012-05-10 13:52:22 +0200
committerDiscover- <amort11@hotmail.com>2012-05-10 13:52:22 +0200
commit5057a8156dc0b2f8664ca952d1da2954f385b2f2 (patch)
tree5f70e67bca5e08b2701de3b9edeba9aec21299f1 /src
parent70739ec9deb967cd64bc96791278018c0e7b97ea (diff)
Scripts/Quests: Fix compile from 0ecd9e72d0745ed0e79f8730f808153139a795a1 - sorry guys.
Thanks @Vincent-Michael.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index 87db81d2518..810cc20e04b 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -1118,11 +1118,11 @@ class spell_q12277_wintergarde_mine_explosion : public SpellScriptLoader
{
public:
spell_q12277_wintergarde_mine_explosion() : SpellScriptLoader("spell_q12277_wintergarde_mine_explosion") { }
-
+
class spell_q12277_wintergarde_mine_explosion_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_q12277_wintergarde_mine_explosion_SpellScript)
-
+ PrepareSpellScript(spell_q12277_wintergarde_mine_explosion_SpellScript);
+
void HandleDummy(SpellEffIndex /*effIndex*/)
{
if (Creature* unitTarget = GetHitCreature())
@@ -1149,13 +1149,13 @@ class spell_q12277_wintergarde_mine_explosion : public SpellScriptLoader
}
}
}
-
+
void Register()
{
OnEffectHitTarget += SpellEffectFn(spell_q12277_wintergarde_mine_explosion_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
}
};
-
+
SpellScript* GetSpellScript() const
{
return new spell_q12277_wintergarde_mine_explosion_SpellScript();