mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
PEGASUS: Fix minor energy bar glitch while calibrating
Need to set the energy level before showing it
This commit is contained in:
parent
c991d3990e
commit
b61ac55036
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user