From 5d77ade10bd1274756cb4a226080eb7673c0b693 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 7 Sep 2018 21:04:04 -0700 Subject: [PATCH] TITANIC: Fix infinite Barbot animation loop after loading savegame --- NEWS | 1 + engines/titanic/support/movie_range_info.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index d80f872877a..a58d2f22b2e 100644 --- a/NEWS +++ b/NEWS @@ -63,6 +63,7 @@ For a more comprehensive changelog of the latest experimental code, see: - Fixed bug in entering floor numbers numerically that could crash the game. - Fixed parser not getting properly reset across sentences in a conversation. - Fixed endless busy cursor on Titania closeup when brain slots are incorrectly inserted. + - Fixed loading saves in front of Barbot could cause him to go into an infinite animation loop. Tucker: - Fixed multiple graphic issues in Bud Tucker in Double Trouble. diff --git a/engines/titanic/support/movie_range_info.cpp b/engines/titanic/support/movie_range_info.cpp index ddf42919cb2..7b184c10892 100644 --- a/engines/titanic/support/movie_range_info.cpp +++ b/engines/titanic/support/movie_range_info.cpp @@ -91,9 +91,9 @@ void CMovieRangeInfo::getMovieFrame(CMovieEventList &list, int frameNumber) { void CMovieRangeInfo::process(CGameObject *owner) { int flags = 0; - if (_endFrame) + if (_isRepeat) flags |= MOVIE_REPEAT; - if (_startFrame) + if (_isReversed) flags |= MOVIE_REVERSE; for (CMovieEventList::iterator i = _events.begin(); i != _events.end(); ++i) {