aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanasis Antoniou2019-04-10 19:37:21 +0300
committerThanasis Antoniou2019-04-10 19:37:21 +0300
commitcb49ac1ae167dba3ced8170834bd2d81839a5c1d (patch)
treea24321443173290c49335f5827aa5c2e86b74553
parente90f70885248626c96d7643e1c9ad27d6f5f4b78 (diff)
downloadscummvm-rg350-cb49ac1ae167dba3ced8170834bd2d81839a5c1d.tar.gz
scummvm-rg350-cb49ac1ae167dba3ced8170834bd2d81839a5c1d.tar.bz2
scummvm-rg350-cb49ac1ae167dba3ced8170834bd2d81839a5c1d.zip
BLADERUNNER: Ensure A.TLK is closed onShutdown
-rw-r--r--engines/bladerunner/bladerunner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp
index 2bf358db4c..e34c05eb69 100644
--- a/engines/bladerunner/bladerunner.cpp
+++ b/engines/bladerunner/bladerunner.cpp
@@ -710,6 +710,10 @@ void BladeRunnerEngine::shutdown() {
closeArchive("SPCHSFX.TLK");
}
+ if (isArchiveOpen("A.TLK")) {
+ closeArchive("A.TLK");
+ }
+
if (isArchiveOpen("SFX.MIX")) {
closeArchive("SFX.MIX");
}