diff options
author | Strangerke | 2014-12-09 07:50:40 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:04:44 -0500 |
commit | 8d97dc9891a3a4a217c72915b8a319f66f84d250 (patch) | |
tree | 541277fe878a55a5c7b85834e8cd683b6616ca8e /engines/access | |
parent | 8ee8444779b11528391fb969f186fd8a74f437a6 (diff) | |
download | scummvm-rg350-8d97dc9891a3a4a217c72915b8a319f66f84d250.tar.gz scummvm-rg350-8d97dc9891a3a4a217c72915b8a319f66f84d250.tar.bz2 scummvm-rg350-8d97dc9891a3a4a217c72915b8a319f66f84d250.zip |
ACCESS: stops the SFX sounds in the intro at the end of the countdown
Diffstat (limited to 'engines/access')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 1 | ||||
-rw-r--r-- | engines/access/sound.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index 01450077bd..80c98a8ad1 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -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; diff --git a/engines/access/sound.h b/engines/access/sound.h index 5089bd093b..dc8bd90b85 100644 --- a/engines/access/sound.h +++ b/engines/access/sound.h @@ -52,8 +52,6 @@ private: void clearSounds(); void playSound(Resource *res, int priority); - void stopSound(); - public: Common::Array<SoundEntry> _soundTable; bool _playingSound; @@ -69,6 +67,7 @@ public: Resource *loadSound(int fileNum, int subfile); void loadSounds(Common::Array<RoomInfo::SoundIdent> &sounds); + void stopSound(); void freeSounds(); }; |