diff options
author | Paul Gilbert | 2018-09-07 21:04:04 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-09-07 21:04:04 -0700 |
commit | 5d77ade10bd1274756cb4a226080eb7673c0b693 (patch) | |
tree | 433ab62ffffdd0552c623d2260addbb452249382 /engines/titanic | |
parent | 0893d6cd236e337aaea0f9f8724d0e6d6046d373 (diff) | |
download | scummvm-rg350-5d77ade10bd1274756cb4a226080eb7673c0b693.tar.gz scummvm-rg350-5d77ade10bd1274756cb4a226080eb7673c0b693.tar.bz2 scummvm-rg350-5d77ade10bd1274756cb4a226080eb7673c0b693.zip |
TITANIC: Fix infinite Barbot animation loop after loading savegame
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/support/movie_range_info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/support/movie_range_info.cpp b/engines/titanic/support/movie_range_info.cpp index ddf42919cb..7b184c1089 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) { |