aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-01-19 01:03:29 +0000
committerJonathan Gray2003-01-19 01:03:29 +0000
commite2ebe7ba631b11fd9e798d438699e8bd4e86c7f5 (patch)
tree9407af155de6b18c054b9cb1d01e18a3ea034267 /scumm
parent6478b944b279a451aeec48729dc4872666bd22db (diff)
downloadscummvm-rg350-e2ebe7ba631b11fd9e798d438699e8bd4e86c7f5.tar.gz
scummvm-rg350-e2ebe7ba631b11fd9e798d438699e8bd4e86c7f5.tar.bz2
scummvm-rg350-e2ebe7ba631b11fd9e798d438699e8bd4e86c7f5.zip
make v8 smush playing honour _noSubtitles
svn-id: r6507
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v8.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index b8b06f13fe..aed8765920 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1370,6 +1370,10 @@ void Scumm_v8::o8_startVideo()
ScummRenderer * sr = new ScummRenderer(this, 83);
SmushPlayer * sp = new SmushPlayer(sr);
+
+ if (_noSubtitles)
+ sp->hide("subtitles");
+
sp->play((char*)_scriptPointer, getGameDataPath());
delete sp;