From 3acc3837e18cc8b038e1e6260fa15d667de3a0f5 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Fri, 30 Mar 2012 01:57:56 +0100 Subject: SKY: Minor formatting fix. --- engines/sky/control.cpp | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3