MYST3: Fix restarting movies with their current position after the loop point

Fix #1213.
This commit is contained in:
Bastien Bouclet 2015-10-03 09:12:31 +02:00
parent c29c92490e
commit 4433268bea

View File

@ -283,6 +283,7 @@ void ScriptedMovie::update() {
if (newEnabled) {
if (_disableWhenComplete
|| _bink.getCurFrame() < _startFrame
|| _bink.getCurFrame() >= _endFrame
|| _bink.endOfVideo()) {
_bink.seekToFrame(_startFrame);
_isLastFrame = false;