mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
TITANIC: Fix Doorbot doubletake in the prologue
This commit is contained in:
parent
e72a1d7c46
commit
a2b05b5c63
@ -205,7 +205,14 @@ bool AVISurface::handleEvents(CMovieEventList &events) {
|
||||
// Not empty, so move onto new first one
|
||||
info = _movieRangeInfo.front();
|
||||
newFrame = info->_startFrame;
|
||||
setFrameRate(info->_endFrame < info->_startFrame ? -DEFAULT_FPS : DEFAULT_FPS);
|
||||
bool reversed = info->_endFrame < info->_startFrame;
|
||||
|
||||
if (isReversed() != reversed)
|
||||
// Direction is different, so force frame seek below
|
||||
_priorFrame = -1;
|
||||
|
||||
// Set the next clip's direction
|
||||
setFrameRate(reversed ? -DEFAULT_FPS : DEFAULT_FPS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user