aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/bladerunner/chapters.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/bladerunner/chapters.cpp b/engines/bladerunner/chapters.cpp
index 7cf7c5e0f5..f063801451 100644
--- a/engines/bladerunner/chapters.cpp
+++ b/engines/bladerunner/chapters.cpp
@@ -71,14 +71,13 @@ void Chapters::closeResources() {
}
#endif // BLADERUNNER_ORIGINAL_BUGS
_vm->closeArchive(Common::String::format("VQA%d.MIX", MIN(id, 3)));
- if (_vm->_cutContent) {
- for (int chi = 1; chi < 4; ++chi) {
- if (_vm->isArchiveOpen(Common::String::format("%d.TLK", chi))) {
- _vm->closeArchive(Common::String::format("%d.TLK", chi));
- }
+ // It's better to try and close every TLK file here (if open), since
+ // when switching from Restored Content version to Original (due to a save game load)
+ // TLK files would still remain open -- and should still be closed here
+ for (int chi = 1; chi < 4; ++chi) {
+ if (_vm->isArchiveOpen(Common::String::format("%d.TLK", chi))) {
+ _vm->closeArchive(Common::String::format("%d.TLK", chi));
}
- } else {
- _vm->closeArchive(Common::String::format("%d.TLK", MIN(id, 3)));
}
_vm->closeArchive(Common::String::format("OUTTAKE%d.MIX", id));
_hasOpenResources = false;