[9621] Typo in CastSpell.

Not affect code work except restore small code speedup.
This commit is contained in:
zhenya 2010-03-26 18:25:29 +03:00 committed by VladimirMangos
parent c3e07a443d
commit b7fa3d5d53
2 changed files with 2 additions and 2 deletions

View file

@ -1074,7 +1074,7 @@ void Unit::CastSpell(Unit* Victim, uint32 spellId, bool triggered, Item *castIte
return;
}
CastSpell(Victim, sSpellStore.LookupEntry(spellId), triggered, castItem, triggeredByAura, originalCaster);
CastSpell(Victim, spellInfo, triggered, castItem, triggeredByAura, originalCaster);
}
void Unit::CastSpell(Unit* Victim,SpellEntry const *spellInfo, bool triggered, Item *castItem, Aura* triggeredByAura, ObjectGuid originalCaster)