Core/Spells: Fix more startup error with spells

This commit is contained in:
Vincent-Michael committed 2013-07-25 15:34:36 +02:00
1 parent e9acee868b
commit 06324832b7
7 files changed
+80 -14

No files matched your search

+3 -4
View File
@@ -466,9 +466,8 @@ class spell_mage_fire_frost_ward : public SpellScriptLoader
bool Validate(SpellInfo const* /*spellInfo*/) OVERRIDE
{
if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_FROST_WARDING_TRIGGERED))
return false;
if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_FROST_WARDING_R1))
if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_FROST_WARDING_TRIGGERED) ||
!sSpellMgr->GetSpellInfo(SPELL_MAGE_FROST_WARDING_R1))
return false;
return true;
}
@@ -718,7 +717,7 @@ class spell_mage_glyph_of_polymorph : public SpellScriptLoader
}
};
// -44457 - Living Bomb
// 44457 - Living Bomb
class spell_mage_living_bomb : public SpellScriptLoader
{
public: