TITANIC: Fix infinite Barbot animation loop after loading savegame

This commit is contained in:
Paul Gilbert 2018-09-07 21:04:04 -07:00
parent 0893d6cd23
commit 5d77ade10b
2 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -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.

View File

@ -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) {