aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/darts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/scalpel/darts.cpp')
-rw-r--r--engines/sherlock/scalpel/darts.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/sherlock/scalpel/darts.cpp b/engines/sherlock/scalpel/darts.cpp
index 23ca95454f..96d272fed0 100644
--- a/engines/sherlock/scalpel/darts.cpp
+++ b/engines/sherlock/scalpel/darts.cpp
@@ -413,11 +413,9 @@ int Darts::doPowerBar(const Common::Point &pt, byte color, int goToPower, bool i
if (sound._musicOn) {
if (!(idx % 3))
sound.waitTimerRoland(1);
- } else {
- if (!(idx % 8))
- events.wait(1);
- }
-
+ } else if (!(idx % 8))
+ events.wait(1);
+
++idx;
} while (!done);