diff options
author | Torbjörn Andersson | 2007-03-18 14:30:26 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-03-18 14:30:26 +0000 |
commit | 003dfed001023d657ceba50dd1aa47eb6271c44d (patch) | |
tree | 271eb8265fccf77b0d38e9b3fad134bbb07a1816 /engines | |
parent | 3f6745a2f43fc2e017a9268c06d11e6278b5bb2f (diff) | |
download | scummvm-rg350-003dfed001023d657ceba50dd1aa47eb6271c44d.tar.gz scummvm-rg350-003dfed001023d657ceba50dd1aa47eb6271c44d.tar.bz2 scummvm-rg350-003dfed001023d657ceba50dd1aa47eb6271c44d.zip |
Fixed control panel sliders.
svn-id: r26209
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sky/control.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp index f90a98c865..d40aad5ad5 100644 --- a/engines/sky/control.cpp +++ b/engines/sky/control.cpp @@ -668,6 +668,7 @@ uint16 Control::doMusicSlide(void) { uint8 volume; while (_mouseClicked) { delay(50); + mouse = _system->getEventManager()->getMousePos(); int newY = ofsY + mouse.y; if (newY < 59) newY = 59; if (newY > 91) newY = 91; @@ -697,6 +698,7 @@ uint16 Control::doSpeedSlide(void) { speedDelay += 2; while (_mouseClicked) { delay(50); + mouse = _system->getEventManager()->getMousePos(); int newY = ofsY + mouse.y; if (newY < MPNL_Y + 93) newY = MPNL_Y + 93; if (newY > MPNL_Y + 104) newY = MPNL_Y + 104; |