aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2014-09-09 19:26:02 +0200
committerTobia Tesan2014-10-15 21:36:46 +0200
commit599390a5ad5b0df7a480230a97b51b9ccb41a177 (patch)
treef1d28bde8ed85b9930f2081c4b322790e2cf527c /engines
parent4742acf9395d069d8e9ee1752c3f8f09c1034b08 (diff)
downloadscummvm-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.cpp9
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);