Scripts/Twin Valkyr: Fix a crash in spell_powering_up_SpellScript. Author: Vincent-Michael

This commit is contained in:
Machiavelli
2012-04-11 22:35:23 +03:00
parent da8c7d2344
commit c38820c3bd
@@ -759,7 +759,7 @@ class spell_powering_up : public SpellScriptLoader
uint32 spellId;
bool Validate(SpellInfo const* /*spellEntry*/)
bool Load(SpellInfo const* /*spellEntry*/)
{
spellId = sSpellMgr->GetSpellIdForDifficulty(SPELL_SURGE_OF_SPEED, GetCaster());
if (!sSpellMgr->GetSpellInfo(spellId))