diff options
author | D G Turner | 2012-03-30 01:57:56 +0100 |
---|---|---|
committer | D G Turner | 2012-03-30 01:57:56 +0100 |
commit | 3acc3837e18cc8b038e1e6260fa15d667de3a0f5 (patch) | |
tree | 0e22d115f0327f9b02f7f494c1e6e8de5085830a /engines/sky/control.cpp | |
parent | 6e31b841deb9ec1a945df1e70aa1977b3147ba4b (diff) | |
download | scummvm-rg350-3acc3837e18cc8b038e1e6260fa15d667de3a0f5.tar.gz scummvm-rg350-3acc3837e18cc8b038e1e6260fa15d667de3a0f5.tar.bz2 scummvm-rg350-3acc3837e18cc8b038e1e6260fa15d667de3a0f5.zip |
SKY: Minor formatting fix.
Diffstat (limited to 'engines/sky/control.cpp')
-rw-r--r-- | engines/sky/control.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp index cd053815f0..57c1f6b48b 100644 --- a/engines/sky/control.cpp +++ b/engines/sky/control.cpp @@ -663,9 +663,8 @@ uint16 Control::doMusicSlide() { uint8 volume; while (_mouseClicked) { delay(50); - if (!_controlPanel) { + if (!_controlPanel) return 0; - } mouse = _system->getEventManager()->getMousePos(); int newY = ofsY + mouse.y; if (newY < 59) newY = 59; |