aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/chapters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/chapters.cpp')
-rw-r--r--engines/bladerunner/chapters.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/bladerunner/chapters.cpp b/engines/bladerunner/chapters.cpp
index afe04139b6..64da4812cb 100644
--- a/engines/bladerunner/chapters.cpp
+++ b/engines/bladerunner/chapters.cpp
@@ -30,7 +30,8 @@ namespace BladeRunner {
bool Chapters::enterChapter(int chapter) {
int id = _resourceIds[chapter];
- _vm->_sliceAnimations->openFrames(id);
+ if (!_vm->_sliceAnimations->openFrames(id))
+ return false;
if (!_vm->openArchive("A.TLK"))
return false;