aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-06-27 23:17:40 +0200
committerNay <dnpd.dd@gmail.com>2012-06-27 23:17:40 +0200
commit87db7b246fe1f8cdbd99f37798ff42ef022a70e3 (patch)
treead4d7e4794ba92922c717349d3833a725c4160ac /src
parent551878ad96c1f4b2882f8e94c248f79576927173 (diff)
Fix build
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index 2f6989b57c9..66ff06decc3 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -1179,7 +1179,7 @@ public:
void HandleDummy(SpellEffIndex /*effIndex*/)
{
if (Creature* target = GetHitCreature())
- target()->CastSpell(GetCaster(), SPELL_BUNNY_CREDIT_BEAM, false);
+ target->CastSpell(GetCaster(), SPELL_BUNNY_CREDIT_BEAM, false);
}
void Register()
@@ -1221,4 +1221,5 @@ void AddSC_quest_spell_scripts()
new spell_q9452_cast_net();
new spell_q12987_read_pronouncement();
new spell_q12277_wintergarde_mine_explosion();
+ new spell_q12066_bunny_kill_credit();
}