diff options
-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; |