diff options
author | Paul Gilbert | 2017-11-23 16:17:22 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-11-23 16:17:22 -0500 |
commit | 23006ece91dbc4ccea101e65fd01ae85d4b9e898 (patch) | |
tree | 3eebe3897460c9992d9156f6f2209689083e5287 /engines/xeen/music.cpp | |
parent | 404657d80d9e21c31771bdeec9b58317ec3fd938 (diff) | |
download | scummvm-rg350-23006ece91dbc4ccea101e65fd01ae85d4b9e898.tar.gz scummvm-rg350-23006ece91dbc4ccea101e65fd01ae85d4b9e898.tar.bz2 scummvm-rg350-23006ece91dbc4ccea101e65fd01ae85d4b9e898.zip |
XEEN: Add playback for atmospheric music during map loading
Diffstat (limited to 'engines/xeen/music.cpp')
-rw-r--r-- | engines/xeen/music.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/music.cpp b/engines/xeen/music.cpp index aea4850f61..fbbaadb374 100644 --- a/engines/xeen/music.cpp +++ b/engines/xeen/music.cpp @@ -735,6 +735,9 @@ void Music::playSong(Common::SeekableReadStream &stream) { } void Music::playSong(const Common::String &name, int param) { + _priorMusic = _currentMusic; + _currentMusic = name; + File f(name); playSong(f); } |