aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2014-12-09 07:49:39 +0100
committerPaul Gilbert2014-12-12 23:04:34 -0500
commit8ee8444779b11528391fb969f186fd8a74f437a6 (patch)
treeb6e2353b9f7f645cc6fa4e7d152adebb1048598d /engines/access
parentc69480f6bf6f7afd6f0cffb0a6a76e22ad8e08cf (diff)
downloadscummvm-rg350-8ee8444779b11528391fb969f186fd8a74f437a6.tar.gz
scummvm-rg350-8ee8444779b11528391fb969f186fd8a74f437a6.tar.bz2
scummvm-rg350-8ee8444779b11528391fb969f186fd8a74f437a6.zip
ACCESS: Skip chapter speech for the non-CD versions
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/amazon/amazon_game.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp
index 9880b65b69..98eba1f086 100644
--- a/engines/access/amazon/amazon_game.cpp
+++ b/engines/access/amazon/amazon_game.cpp
@@ -481,13 +481,14 @@ void AmazonEngine::startChapter(int chapter) {
_timers[20]._flag++;
_sound->freeSounds();
- _sound->_soundTable.push_back(SoundEntry(_sound->loadSound(115, 0), 1));
- _sound->playSound(0);
- _sound->freeSounds();
+ if (isCD()) {
+ _sound->_soundTable.push_back(SoundEntry(_sound->loadSound(115, 0), 1));
+ _sound->_soundTable.push_back(SoundEntry(_sound->loadSound(115, 1), 1));
+ _sound->playSound(0);
+ _sound->playSound(1);
- _sound->_soundTable.push_back(SoundEntry(_sound->loadSound(115, 1), 1));
- _sound->playSound(0);
- _sound->freeSounds();
+ _sound->freeSounds();
+ }
// Wait loop
while (!shouldQuit() && !_events->isKeyMousePressed() && _timers[20]._flag) {