aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kohaut2019-03-17 21:37:37 +0100
committerPeter Kohaut2019-03-17 22:01:16 +0100
commitcea00af6739553b3348c545912b4bfec16978057 (patch)
tree646f795a0f25b3d4824c99c6bd0cd155165938c5
parente7641d51b5ca6f46aa16105c31bd827ec72b3bf1 (diff)
downloadscummvm-rg350-cea00af6739553b3348c545912b4bfec16978057.tar.gz
scummvm-rg350-cea00af6739553b3348c545912b4bfec16978057.tar.bz2
scummvm-rg350-cea00af6739553b3348c545912b4bfec16978057.zip
BLADERUNNER: Fixed CDFRAMES.DAT switching
-rw-r--r--engines/bladerunner/slice_animations.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/bladerunner/slice_animations.cpp b/engines/bladerunner/slice_animations.cpp
index 078d51953a..5db08063b8 100644
--- a/engines/bladerunner/slice_animations.cpp
+++ b/engines/bladerunner/slice_animations.cpp
@@ -112,6 +112,8 @@ bool SliceAnimations::openFrames(int fileNumber) {
_framesPageFile.close();
+ _framesPageFile._fileNumber = fileNumber;
+
if (fileNumber == 1 && _framesPageFile.open("CDFRAMES.DAT")) // For Chapter1 we try both CDFRAMES.DAT and CDFRAMES1.DAT
return true;