Scripted: Fix non pch build

This commit is contained in:
Vincent-Michael
2013-08-09 20:00:18 +02:00
parent 8c7db6cc8d
commit 8aff3945f2
7 changed files with 14 additions and 6 deletions
+3 -2
View File
@@ -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();