diff options
author | D G Turner | 2012-08-02 13:01:37 +0100 |
---|---|---|
committer | D G Turner | 2012-08-02 13:01:37 +0100 |
commit | 75e121806d5a6fbead52f973ff5fc70bc94bf35a (patch) | |
tree | fa9cdab22ca93e35144bc2234d9dc256e58d625d /engines | |
parent | 95ba78c27d3a757f3153ff0bf60884ad0735d82b (diff) | |
download | scummvm-rg350-75e121806d5a6fbead52f973ff5fc70bc94bf35a.tar.gz scummvm-rg350-75e121806d5a6fbead52f973ff5fc70bc94bf35a.tar.bz2 scummvm-rg350-75e121806d5a6fbead52f973ff5fc70bc94bf35a.zip |
TEENAGENT: Ensure MusicPlayer is stopped on destruction.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/teenagent/music.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/teenagent/music.cpp b/engines/teenagent/music.cpp index 446ae9656a..b06a5f1f5e 100644 --- a/engines/teenagent/music.cpp +++ b/engines/teenagent/music.cpp @@ -40,6 +40,7 @@ MusicPlayer::MusicPlayer(TeenAgentEngine *vm) : Paula(false, 44100, 5000), _vm(v } MusicPlayer::~MusicPlayer() { + stop(); } bool MusicPlayer::load(int id) { |