aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-08-09 19:59:52 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-08-09 20:00:18 +0200
commit8aff3945f275b2285413ffadef616da1eb513faa (patch)
treef4904f673b29e1526ef25461075ae92417cad256 /src/server/scripts/Spells
parent8c7db6cc8d0f979fd808c9fde36a646eb413e653 (diff)
Scripted: Fix non pch build
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp5
1 files changed, 3 insertions, 2 deletions
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();