aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-13 20:01:35 -0400
committerPaul Gilbert2015-08-13 20:01:35 -0400
commit3ce7aaa6d94d81f8456070d78a2de9b55acc2b8c (patch)
treec3b7f2af500ddf29f2b2fa536e25b6cde6178749 /engines/sherlock/scalpel
parent3e718ad31f347a543d35c467b9615e4536fbca64 (diff)
downloadscummvm-rg350-3ce7aaa6d94d81f8456070d78a2de9b55acc2b8c.tar.gz
scummvm-rg350-3ce7aaa6d94d81f8456070d78a2de9b55acc2b8c.tar.bz2
scummvm-rg350-3ce7aaa6d94d81f8456070d78a2de9b55acc2b8c.zip
SHERLOCK: RT: Removal of redundant music code
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel_darts.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/sherlock/scalpel/scalpel_darts.cpp b/engines/sherlock/scalpel/scalpel_darts.cpp
index f36de0915a..2ec86bf7fb 100644
--- a/engines/sherlock/scalpel/scalpel_darts.cpp
+++ b/engines/sherlock/scalpel/scalpel_darts.cpp
@@ -382,10 +382,7 @@ int Darts::doPowerBar(const Common::Point &pt, byte color, int goToPower, bool i
int idx = 0;
events.clearEvents();
- if (music._musicOn)
- music.waitTimerRoland(10);
- else
- events.delay(100);
+ events.delay(100);
// Display loop
do {
@@ -410,10 +407,7 @@ int Darts::doPowerBar(const Common::Point &pt, byte color, int goToPower, bool i
screen.slamArea(pt.x + idx, pt.y, 1, 8);
}
- if (music._musicOn) {
- if (!(idx % 3))
- music.waitTimerRoland(1);
- } else if (!(idx % 8))
+ if (!(idx % 8))
events.wait(1);
++idx;