Skip to content

Commit

Permalink
ACCESS: stops the SFX sounds in the intro at the end of the countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke authored and dreammaster committed Dec 13, 2014
1 parent 8ee8444 commit 8d97dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions engines/access/amazon/amazon_logic.cpp
Expand Up @@ -365,6 +365,7 @@ void Opening::doTitle() {
if (_vm->shouldQuit())
return;

_vm->_sound->stopSound();
_vm->_sound->playSound(0);
_vm->_screen->forceFadeOut();
_vm->_events->_vbCount = 100;
Expand Down
3 changes: 1 addition & 2 deletions engines/access/sound.h
Expand Up @@ -52,8 +52,6 @@ class SoundManager {
void clearSounds();

void playSound(Resource *res, int priority);
void stopSound();

public:
Common::Array<SoundEntry> _soundTable;
bool _playingSound;
Expand All @@ -69,6 +67,7 @@ class SoundManager {
Resource *loadSound(int fileNum, int subfile);
void loadSounds(Common::Array<RoomInfo::SoundIdent> &sounds);

void stopSound();
void freeSounds();
};

Expand Down

0 comments on commit 8d97dc9

Please sign in to comment.