From ce9e9a55c6969ca1127f00f5d5a22e0c0c0bc046 Mon Sep 17 00:00:00 2001 From: richiesams Date: Wed, 28 Aug 2013 09:16:38 -0500 Subject: ZVISION: Fix: Store what type of animation file is used --- engines/zvision/lever_control.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3