PEGASUS: Fix minor energy bar glitch while calibrating

Need to set the energy level before showing it
This commit is contained in:
Matthew Hoops 2013-02-04 14:41:18 -05:00
parent c991d3990e
commit b61ac55036

View File

@ -262,9 +262,9 @@ void EnergyMonitor::calibrateEnergyBar() {
_energyLight.setCurrentFrameIndex(0);
_energyLight.hide();
show();
setEnergyValue(0);
setEnergyDrainRate(-(int32)kMaxJMPEnergy / 2);
show();
// Make sure warning light is hidden...
_energyLight.hide();