diff options
author | Paweł Kołodziejski | 2002-07-19 06:37:28 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-07-19 06:37:28 +0000 |
commit | 0992c619761143da772e5736c7376700b8038893 (patch) | |
tree | 806fbcdfe1184b86520d674970a59c9fdf1db256 | |
parent | 7e6d2affa84e3a9dafa852605c1cc63d974df979 (diff) | |
download | scummvm-rg350-0992c619761143da772e5736c7376700b8038893.tar.gz scummvm-rg350-0992c619761143da772e5736c7376700b8038893.tar.bz2 scummvm-rg350-0992c619761143da772e5736c7376700b8038893.zip |
DIG: turn off subtitles in SMUSH if _noSubtitles is set
svn-id: r4599
-rw-r--r-- | insane.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/insane.cpp b/insane.cpp index 4e82e86a7f..341cf48855 100644 --- a/insane.cpp +++ b/insane.cpp @@ -1254,7 +1254,9 @@ void SmushPlayer::parseTRES() printf("getStringTRES(%d)\n", READ_LE_UINT16(_cur + 16)); return; } - + if ((sm->_noSubtitles) && (READ_LE_UINT16(_cur + 4) != 0)) + return; + byte * txt = getStringTRES (READ_LE_UINT16(_cur + 16)); drawStringTRES (READ_LE_UINT16(_cur), READ_LE_UINT16(_cur + 2), txt); if (txt != NULL) |