diff options
author | Tobia Tesan | 2014-02-08 13:59:37 +0100 |
---|---|---|
committer | Tobia Tesan | 2014-10-15 21:36:45 +0200 |
commit | 2acb2f558c4ee018ad30ce6fb6e8412d175b6c46 (patch) | |
tree | 01a4035524308cb2b9799be964ce9b1e3e6d5017 /engines/wintermute/video | |
parent | 40c5b01aad085f1cf69792f1ef945f54d5e844e1 (diff) | |
download | scummvm-rg350-2acb2f558c4ee018ad30ce6fb6e8412d175b6c46.tar.gz scummvm-rg350-2acb2f558c4ee018ad30ce6fb6e8412d175b6c46.tar.bz2 scummvm-rg350-2acb2f558c4ee018ad30ce6fb6e8412d175b6c46.zip |
WINTERMUTE: Add clarification comment in loadSubtitles
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r-- | engines/wintermute/video/video_subtitler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/wintermute/video/video_subtitler.cpp b/engines/wintermute/video/video_subtitler.cpp index a8ce86853a..cc46ddf526 100644 --- a/engines/wintermute/video/video_subtitler.cpp +++ b/engines/wintermute/video/video_subtitler.cpp @@ -66,6 +66,13 @@ bool VideoSubtitler::loadSubtitles(const Common::String &filename, const Common: Common::String newFile; + /* + * Okay, the expected behaviour is this: either we are + * provided with a subtitle file to use by the script when + * calling PlayTheora(), or we try to autodetect a suitable + * one which, for /some/path/movie/ogg is to be called + * /some/path/movie.sub + */ if (subtitleFile.size() != 0) { newFile = Common::String(subtitleFile); } else { |