- mana modules animate regardless of 'predictedPower' setting now

- fixed occasional flickering in the cast bar and threat bar when they are first displayed
- minor code cleanup
This commit is contained in:
Parnic
2010-11-06 03:03:46 +00:00
parent 74b9ace21d
commit fa8b895214
6 changed files with 24 additions and 19 deletions

View File

@ -148,7 +148,7 @@ function PetMana.prototype:Update(unit)
if (self.manaPercentage == 1 and self.manaType ~= SPELL_POWER_RAGE and self.manaType ~= SPELL_POWER_RUNIC_POWER)
or (self.manaPercentage == 0 and (self.manaType == SPELL_POWER_RAGE or self.manaType == SPELL_POWER_RUNIC_POWER)) then
self:SetupOnUpdate(false)
elseif GetCVarBool("predictedPower") then
else
self:SetupOnUpdate(true)
end