Fix bug which causes ghost bars to show when some classes are not selected to be shown.

This commit is contained in:
Xinhuan
2008-10-29 16:58:02 +08:00
parent bf32177063
commit 1eb3dbd14a
+1 -1
View File
@@ -1301,7 +1301,7 @@ function Omen:UpdateBars()
else
if i*dbBar.Height + (i-1)*dbBar.Spacing > h then break end
end
local bar = bars[j]
local bar = bars[dbBar.ShowHeadings and i-1 or i]
local threat = threatTable[guid]
bar.Text1:SetText(guidNameLookup[guid])
if dbBar.ShowPercent and dbBar.ShowValue then