diff options
author | Matthew Hoops | 2011-10-02 22:51:34 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-02 22:51:34 -0400 |
commit | cc7680364a1a2df79323b55766cd298a71b63add (patch) | |
tree | 6596b4c92bf16c1e458ff591ac02f7fedfb7445e /engines | |
parent | 2b4bd019eef319300dc53ce82a30b8a8075023ef (diff) | |
download | scummvm-rg350-cc7680364a1a2df79323b55766cd298a71b63add.tar.gz scummvm-rg350-cc7680364a1a2df79323b55766cd298a71b63add.tar.bz2 scummvm-rg350-cc7680364a1a2df79323b55766cd298a71b63add.zip |
PEGASUS: Fix energy monitor calibration
Minus a quick flicker
Diffstat (limited to 'engines')
-rwxr-xr-x | engines/pegasus/energymonitor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/pegasus/energymonitor.cpp b/engines/pegasus/energymonitor.cpp index 94ac093c99..2076ae1240 100755 --- a/engines/pegasus/energymonitor.cpp +++ b/engines/pegasus/energymonitor.cpp @@ -262,11 +262,9 @@ void EnergyMonitor::calibrateEnergyBar() { _energyLight.setCurrentFrameIndex(0); _energyLight.hide(); -#if 0 - // FIXME: This doesn't work yet show(); setEnergyValue(0); - setEnergyDrainRate(-kMaxJMPEnergy / 2); + setEnergyDrainRate(-(int32)kMaxJMPEnergy / 2); // Make sure warning light is hidden... _energyLight.hide(); @@ -279,7 +277,6 @@ void EnergyMonitor::calibrateEnergyBar() { vm->refreshDisplay(); setEnergyDrainRate(0); hide(); -#endif _calibrating = false; } |