From 8aff3945f275b2285413ffadef616da1eb513faa Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Fri, 9 Aug 2013 19:59:52 +0200 Subject: Scripted: Fix non pch build --- src/server/scripts/Spells/spell_quest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/server/scripts/Spells') diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index fcf87e9bfac..ca94f871d03 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -1803,7 +1803,8 @@ class spell_q13011_bear_flank_master : public SpellScriptLoader bool Validate(SpellInfo const* /*spellInfo*/) OVERRIDE { - if (!sSpellMgr->GetSpellInfo(SPELL_BEAR_FLANK_MASTER) || !sSpellMgr->GetSpellInfo(SPELL_CREATE_BEAR_FLANK)) + if (!sSpellMgr->GetSpellInfo(SPELL_BEAR_FLANK_MASTER) || + !sSpellMgr->GetSpellInfo(SPELL_CREATE_BEAR_FLANK)) return false; return true; } @@ -1813,7 +1814,7 @@ class spell_q13011_bear_flank_master : public SpellScriptLoader return GetCaster()->GetTypeId() == TYPEID_UNIT; } - void HandleScript(SpellEffIndex effIndex) + void HandleScript(SpellEffIndex /*effIndex*/) { bool failed = RAND(0, 1); // 50% chance Creature* creature = GetCaster()->ToCreature(); -- cgit v1.2.3