- fixed the non-interruptible check to work for the target cast bar's TargetChanged event

- fixed :Redraw from causing a cast bar to draw gray and stop updating (could happen if spell interruptibility changed mid-cast)
This commit is contained in:
Parnic
2010-04-01 16:04:45 +00:00
parent 9d387b5f36
commit 48f1ccfe95
2 changed files with 9 additions and 1 deletions

View File

@ -67,7 +67,7 @@ function TargetCast.prototype:TargetChanged(unit)
return
end
local spell, _, _, _, _, _, _, notInterruptibleCast = UnitCastingInfo(self.unit)
local spell, _, _, _, _, _, _, _, notInterruptibleCast = UnitCastingInfo(self.unit)
if (spell) then
self.notInterruptible = notInterruptibleCast
self:StartBar(IceCastBar.Actions.Cast)