- fixed a problem with target cast bars not always interrupting properly (apparently UNIT_SPELLCAST_STOP doesn't reliably return the spell that's stopping for non-player units)

This commit is contained in:
Parnic
2008-01-25 07:02:22 +00:00
parent 2afa278bf0
commit 90373e072a

View File

@ -230,7 +230,7 @@ function IceCastBar.prototype:SpellCastStop(unit, spell, rank)
IceHUD:Debug("SpellCastStop", unit, spell, self.current)
-- ignore if not coming from current spell
if (self.current and self.current ~= spell) then
if (self.current and spell and self.current ~= spell) then
return
end