aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
authorBLooperZ2019-10-15 21:51:35 +0300
committerEugene Sandulenko2019-11-18 02:02:14 +0100
commita2a4278c0f31f6a0134227c102fc90c0bb7bf7e4 (patch)
tree115c7aa6d3db49959ef12ea9223c0ba2c0cb4f7e /engines/toon
parenta81b47633e2cf1bb7de5d82a012dcd2c04dc3903 (diff)
downloadscummvm-rg350-a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4.tar.gz
scummvm-rg350-a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4.tar.bz2
scummvm-rg350-a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4.zip
TOON: support SUBTITLES.PAK
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/toon.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 518110b0ea..40b19c0d37 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -106,6 +106,9 @@ void ToonEngine::init() {
resources()->openPackage("ONETIME.PAK");
resources()->openPackage("DREW.PAK");
+ // load subtitles if available (if fails to load it only return false, so there's no need to check)
+ resources()->openPackage("SUBTITLES.PAK");
+
for (int32 i = 0; i < 32; i++)
_characters[i] = NULL;