aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-08-28 09:16:38 -0500
committerrichiesams2013-08-28 16:44:40 -0500
commitce9e9a55c6969ca1127f00f5d5a22e0c0c0bc046 (patch)
treeb0137af1815f817fb94ab6dfad03bce6e70aea35
parent7d255c3d8014987b76d8ef974af1c9c7f536d396 (diff)
downloadscummvm-rg350-ce9e9a55c6969ca1127f00f5d5a22e0c0c0bc046.tar.gz
scummvm-rg350-ce9e9a55c6969ca1127f00f5d5a22e0c0c0bc046.tar.bz2
scummvm-rg350-ce9e9a55c6969ca1127f00f5d5a22e0c0c0bc046.zip
ZVISION: Fix: Store what type of animation file is used
-rw-r--r--engines/zvision/lever_control.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/lever_control.cpp b/engines/zvision/lever_control.cpp
index 97e1f66fb5..d515f9e784 100644
--- a/engines/zvision/lever_control.cpp
+++ b/engines/zvision/lever_control.cpp
@@ -105,8 +105,10 @@ void LeverControl::parseLevFile(const Common::String &fileName) {
if (animationFileName.hasSuffix(".avi")) {
_animation.avi = new ZorkAVIDecoder();
_animation.avi->loadFile(animationFileName);
+ _fileType = AVI;
} else if (animationFileName.hasSuffix(".rlf")) {
_animation.rlf = new RlfAnimation(animationFileName, false);
+ _fileType = RLF;
}
} else if (line.matchString("*skipcolor*", true)) {
// Not used