diff options
author | Filippos Karapetis | 2015-12-27 14:22:11 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-12-27 14:36:01 +0200 |
commit | 684830082b51ae1112c775e5c23b8a3e18727609 (patch) | |
tree | 29bb86b2aca50c8e034e154207d64fa9719d4926 | |
parent | e2d019f9d1048a35c7d6b862918e057218a5cab6 (diff) | |
download | scummvm-rg350-684830082b51ae1112c775e5c23b8a3e18727609.tar.gz scummvm-rg350-684830082b51ae1112c775e5c23b8a3e18727609.tar.bz2 scummvm-rg350-684830082b51ae1112c775e5c23b8a3e18727609.zip |
LAB: Simplify resetMusic()
-rw-r--r-- | engines/lab/music.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/lab/music.cpp b/engines/lab/music.cpp index 114179b310..bcc534cafd 100644 --- a/engines/lab/music.cpp +++ b/engines/lab/music.cpp @@ -259,13 +259,8 @@ void Music::resetMusic() { setMusic(false); _vm->updateMusicAndEvents(); - if (!_oldMusicOn) { - _tFile = 0; - return; - } - - _musicOn = _oldMusicOn; - startMusic(false); + if (_oldMusicOn) + startMusic(false); _tFile = 0; } |