diff options
author | Jonathan Gray | 2003-01-19 01:03:29 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-01-19 01:03:29 +0000 |
commit | e2ebe7ba631b11fd9e798d438699e8bd4e86c7f5 (patch) | |
tree | 9407af155de6b18c054b9cb1d01e18a3ea034267 /scumm/script_v8.cpp | |
parent | 6478b944b279a451aeec48729dc4872666bd22db (diff) | |
download | scummvm-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/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 4 |
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; |