diff options
author | Tobia Tesan | 2014-09-09 19:26:02 +0200 |
---|---|---|
committer | Tobia Tesan | 2014-10-15 21:36:46 +0200 |
commit | 599390a5ad5b0df7a480230a97b51b9ccb41a177 (patch) | |
tree | f1d28bde8ed85b9930f2081c4b322790e2cf527c /engines | |
parent | 4742acf9395d069d8e9ee1752c3f8f09c1034b08 (diff) | |
download | scummvm-rg350-599390a5ad5b0df7a480230a97b51b9ccb41a177.tar.gz scummvm-rg350-599390a5ad5b0df7a480230a97b51b9ccb41a177.tar.bz2 scummvm-rg350-599390a5ad5b0df7a480230a97b51b9ccb41a177.zip |
WINTERMUTE: Lose unnecessary if() in VideoTheoraPlayer
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/video/video_theora_player.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp index 99fce7b6ad..22c235c848 100644 --- a/engines/wintermute/video/video_theora_player.cpp +++ b/engines/wintermute/video/video_theora_player.cpp @@ -131,14 +131,7 @@ bool VideoTheoraPlayer::initialize(const Common::String &filename, const Common: return STATUS_FAILED; #endif - - if (_subtitler->loadSubtitles(_filename, subtitleFile)) { - // We have subtitles - _foundSubtitles = true; - } else { - // We couldn't load subtitles... - _foundSubtitles = false; - } + _foundSubtitles = _subtitler->loadSubtitles(_filename, subtitleFile); _theoraDecoder->loadStream(_file); |