Skip to content

Commit

Permalink
Merge pull request #705 from ottogin/sword25-video-fix
Browse files Browse the repository at this point in the history
SWORD25: Fix video loop in intro
  • Loading branch information
sev- committed Mar 14, 2016
2 parents 5c9d3e3 + 25c852f commit 8f1c160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/sword25/fmv/movieplayer.cpp
Expand Up @@ -58,6 +58,8 @@ MoviePlayer::~MoviePlayer() {
}

bool MoviePlayer::loadMovie(const Common::String &filename, uint z) {
if (isMovieLoaded())
unloadMovie();
// Get the file and load it into the decoder
Common::SeekableReadStream *in = Kernel::getInstance()->getPackage()->getStream(filename);
_decoder.loadStream(in);
Expand Down

0 comments on commit 8f1c160

Please sign in to comment.