aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
diff options
context:
space:
mode:
authorJonathan Gray2002-12-22 04:07:41 +0000
committerJonathan Gray2002-12-22 04:07:41 +0000
commit352748878a79b31dc4ef0d0c9cac1924d83faf0e (patch)
treeac099e3840307271e36d3bd0fc31dd05aeee8113 /scumm/script_v6.cpp
parent0c3626c9f4484ab755285fdb77c097e4c6bf7247 (diff)
downloadscummvm-rg350-352748878a79b31dc4ef0d0c9cac1924d83faf0e.tar.gz
scummvm-rg350-352748878a79b31dc4ef0d0c9cac1924d83faf0e.tar.bz2
scummvm-rg350-352748878a79b31dc4ef0d0c9cac1924d83faf0e.zip
allow subtitles in smush animations to be disabled
svn-id: r6055
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r--scumm/script_v6.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 643d5e49f9..3ffbdb7864 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2454,7 +2454,9 @@ void Scumm_v6::o6_miscOps()
ScummRenderer * sr = new ScummRenderer(this, speed);
SmushPlayer * sp = new SmushPlayer(sr);
-
+
+ if (_noSubtitles)
+ sp->hide("subtitles");
// INSANE mode 0: SMUSH movie playback
if (args[1] == 0) {
sp->play((char*)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());