diff options
author | Filippos Karapetis | 2014-12-26 22:51:33 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-26 22:51:33 +0200 |
commit | 19ce38d40e9f273335b06a62bcb0d3643602080c (patch) | |
tree | e30e7efcc8554d019bdd71b4c303ff6df83b4337 | |
parent | 85142cd0d7fb6e24fc45b2c61611f848b8c4a102 (diff) | |
download | scummvm-rg350-19ce38d40e9f273335b06a62bcb0d3643602080c.tar.gz scummvm-rg350-19ce38d40e9f273335b06a62bcb0d3643602080c.tar.bz2 scummvm-rg350-19ce38d40e9f273335b06a62bcb0d3643602080c.zip |
ZVISION: Turn off subtitles, if requested
-rw-r--r-- | engines/zvision/graphics/render_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/graphics/render_manager.cpp b/engines/zvision/graphics/render_manager.cpp index 4f7b16c833..4f26123fc8 100644 --- a/engines/zvision/graphics/render_manager.cpp +++ b/engines/zvision/graphics/render_manager.cpp @@ -737,7 +737,7 @@ void RenderManager::processSubs(uint16 deltatime) { } } - if (redraw) { + if (redraw && _engine->getScriptManager()->getStateValue(StateKey_Subtitles) == 1) { _subtitleSurface.fillRect(Common::Rect(_subtitleSurface.w, _subtitleSurface.h), 0); for (SubtitleMap::iterator it = _subsList.begin(); it != _subsList.end(); it++) { |