From 599390a5ad5b0df7a480230a97b51b9ccb41a177 Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Tue, 9 Sep 2014 19:26:02 +0200 Subject: WINTERMUTE: Lose unnecessary if() in VideoTheoraPlayer --- engines/wintermute/video/video_theora_player.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'engines/wintermute/video/video_theora_player.cpp') 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); -- cgit v1.2.3