diff options
author | BLooperZ | 2019-10-15 21:51:35 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-18 02:02:14 +0100 |
commit | a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4 (patch) | |
tree | 115c7aa6d3db49959ef12ea9223c0ba2c0cb4f7e /engines/toon/toon.cpp | |
parent | a81b47633e2cf1bb7de5d82a012dcd2c04dc3903 (diff) | |
download | scummvm-rg350-a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4.tar.gz scummvm-rg350-a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4.tar.bz2 scummvm-rg350-a2a4278c0f31f6a0134227c102fc90c0bb7bf7e4.zip |
TOON: support SUBTITLES.PAK
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r-- | engines/toon/toon.cpp | 3 |
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; |