Skip to content

Commit

Permalink
ACCESS: Skip chapter speech for the non-CD versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke authored and dreammaster committed Dec 13, 2014
1 parent c69480f commit 8ee8444
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions engines/access/amazon/amazon_game.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 8ee8444

Please sign in to comment.