diff options
author | Marisa-Chan | 2014-09-09 12:31:11 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-09-09 12:31:11 +0700 |
commit | 78552afdae3b7b27845d7ea4d2c2638fa3182333 (patch) | |
tree | 046d867fd74e254308df62afe54df0838b76967e /engines/zvision/scripting/controls/lever_control.cpp | |
parent | 2b6d65f83bdc26b3d07cfc3061a27882d87df67c (diff) | |
download | scummvm-rg350-78552afdae3b7b27845d7ea4d2c2638fa3182333.tar.gz scummvm-rg350-78552afdae3b7b27845d7ea4d2c2638fa3182333.tar.bz2 scummvm-rg350-78552afdae3b7b27845d7ea4d2c2638fa3182333.zip |
ZVISION: Check .avi and .rlf suffix only in MetaAnimation.
Diffstat (limited to 'engines/zvision/scripting/controls/lever_control.cpp')
-rw-r--r-- | engines/zvision/scripting/controls/lever_control.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/zvision/scripting/controls/lever_control.cpp b/engines/zvision/scripting/controls/lever_control.cpp index 87fbb433dd..8072079435 100644 --- a/engines/zvision/scripting/controls/lever_control.cpp +++ b/engines/zvision/scripting/controls/lever_control.cpp @@ -104,8 +104,7 @@ void LeverControl::parseLevFile(const Common::String &fileName) { Common::String animationFileName(fileNameBuffer); - if (animationFileName.hasSuffix(".avi") || animationFileName.hasSuffix(".rlf")) - _animation = new MetaAnimation(animationFileName, _engine); + _animation = new MetaAnimation(animationFileName, _engine); } else if (line.matchString("*skipcolor*", true)) { // Not used |