diff options
author | Eugene Sandulenko | 2020-01-08 21:16:56 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2020-01-08 23:08:13 +0100 |
commit | 30b9a43a4c60e4edcc8201735c3ad2433ff2dbfb (patch) | |
tree | ec34d449a2e565970a0750e0c198f98f17cac371 | |
parent | f4a439a8e891efe4ca5eb151bec0c2761cbac39f (diff) | |
download | scummvm-rg350-30b9a43a4c60e4edcc8201735c3ad2433ff2dbfb.tar.gz scummvm-rg350-30b9a43a4c60e4edcc8201735c3ad2433ff2dbfb.tar.bz2 scummvm-rg350-30b9a43a4c60e4edcc8201735c3ad2433ff2dbfb.zip |
DIRECTOR: Generate start/stopMovie events
-rw-r--r-- | engines/director/score.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 1eb1dcebe6..b81aae701c 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -1307,6 +1307,8 @@ void Score::startLoop() { _stopPlay = false; _nextFrameTime = 0; + _lingo->processEvent(kEventStartMovie); + _frames[_currentFrame]->prepareFrame(this); while (!_stopPlay) { @@ -1322,6 +1324,8 @@ void Score::startLoop() { if (_currentFrame < _frames.size()) _vm->processEvents(); } + + _lingo->processEvent(kEventStopMovie); } void Score::update() { |