diff options
author | Travis Howell | 2002-11-04 05:02:41 +0000 |
---|---|---|
committer | Travis Howell | 2002-11-04 05:02:41 +0000 |
commit | 73aeea6e46598adce60d365e3ef465b4108259fe (patch) | |
tree | fa46d47c3577383615c869d330cd85320f56ddda /simon | |
parent | 4748ffd33ce32824ca573fa45d3ea473b19f9dd0 (diff) | |
download | scummvm-rg350-73aeea6e46598adce60d365e3ef465b4108259fe.tar.gz scummvm-rg350-73aeea6e46598adce60d365e3ef465b4108259fe.tar.bz2 scummvm-rg350-73aeea6e46598adce60d365e3ef465b4108259fe.zip |
Remove old file exist check that is no longer required
svn-id: r5399
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 99b89f9454..64405d283c 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -4985,12 +4985,7 @@ void SimonState::playMusic(uint music) /* Simon 1 dos talkie music doesn't detect correct size of music data */ /* Simon 2 dos talkie music isn't supported */ /* Simon 2 dos music isn't supported */ - const char *s2 = gss->wav_filename; - File music_file; - music_file.open(s2, _gameDataPath); - if (music_file.isOpen() == true) { - midi.shutdown(); - + if (_voice_type == FORMAT_WAV) { if (_game & GAME_WIN) { _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music], SEEK_SET); midi.read_all_songs(_game_file); |