aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2014-12-09 07:50:40 +0100
committerPaul Gilbert2014-12-12 23:04:44 -0500
commit8d97dc9891a3a4a217c72915b8a319f66f84d250 (patch)
tree541277fe878a55a5c7b85834e8cd683b6616ca8e /engines/access
parent8ee8444779b11528391fb969f186fd8a74f437a6 (diff)
downloadscummvm-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.cpp1
-rw-r--r--engines/access/sound.h3
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();
};