diff options
Diffstat (limited to 'engines/zvision/music_node.cpp')
-rw-r--r-- | engines/zvision/music_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/music_node.cpp b/engines/zvision/music_node.cpp index 30271480c1..d47a796382 100644 --- a/engines/zvision/music_node.cpp +++ b/engines/zvision/music_node.cpp @@ -51,7 +51,7 @@ MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool if (filename.contains(".wav")) { Common::File *file = new Common::File(); - if (file->open(filename)) { + if (_engine->getSearchManager()->openFile(*file, filename)) { audioStream = Audio::makeWAVStream(file, DisposeAfterUse::YES); } } else { |