diff options
Diffstat (limited to 'engines/cge/sound.cpp')
-rw-r--r-- | engines/cge/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/sound.cpp b/engines/cge/sound.cpp index d8a9b7831e..a7b2d34b0b 100644 --- a/engines/cge/sound.cpp +++ b/engines/cge/sound.cpp @@ -215,7 +215,7 @@ void MusicPlayer::killMidi() { void MusicPlayer::loadMidi(int ref) { // Work out the filename and check the given MIDI file exists Common::String filename = Common::String::format("%.2d.MID", ref); - if (!VFile::exist(filename.c_str())) + if (!_cat->exist(filename.c_str())) return; // Stop any currently playing MIDI file |