diff options
author | Marisa-Chan | 2014-02-04 08:32:02 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-02-04 08:32:02 +0700 |
commit | 4a454ed763c24f94062be5dd57f43e0a84c1b0a2 (patch) | |
tree | cbfd6f403c780c696d86bc02397e93a89dba9870 /engines/zvision/lever_control.cpp | |
parent | 9c9f59d57060617d1acec71bd0d4066504f17c7a (diff) | |
download | scummvm-rg350-4a454ed763c24f94062be5dd57f43e0a84c1b0a2.tar.gz scummvm-rg350-4a454ed763c24f94062be5dd57f43e0a84c1b0a2.tar.bz2 scummvm-rg350-4a454ed763c24f94062be5dd57f43e0a84c1b0a2.zip |
ZVISION: New search manager for handle right handle for ZIX-files.
Diffstat (limited to 'engines/zvision/lever_control.cpp')
-rw-r--r-- | engines/zvision/lever_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/lever_control.cpp b/engines/zvision/lever_control.cpp index e96c873033..33aa2be592 100644 --- a/engines/zvision/lever_control.cpp +++ b/engines/zvision/lever_control.cpp @@ -86,7 +86,7 @@ LeverControl::~LeverControl() { void LeverControl::parseLevFile(const Common::String &fileName) { Common::File file; - if (!file.open(fileName)) { + if (!_engine->getSearchManager()->openFile(file, fileName)) { warning("LEV file %s could could be opened", fileName.c_str()); return; } @@ -103,7 +103,7 @@ void LeverControl::parseLevFile(const Common::String &fileName) { Common::String animationFileName(fileNameBuffer); if (animationFileName.hasSuffix(".avi") || animationFileName.hasSuffix(".rlf")) - _animation = new MetaAnimation(animationFileName); + _animation = new MetaAnimation(animationFileName, _engine); } else if (line.matchString("*skipcolor*", true)) { // Not used |