diff options
author | Eugene Sandulenko | 2016-08-26 18:17:04 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-26 18:39:47 +0200 |
commit | 8a372eaf7169a67af984380e0204808da4feeee4 (patch) | |
tree | 489214997605d748b4777794f175dda87945d7e2 /engines/director/score.cpp | |
parent | 41ee7dd3717e8ff5451314fe62468ae64e8879c3 (diff) | |
download | scummvm-rg350-8a372eaf7169a67af984380e0204808da4feeee4.tar.gz scummvm-rg350-8a372eaf7169a67af984380e0204808da4feeee4.tar.bz2 scummvm-rg350-8a372eaf7169a67af984380e0204808da4feeee4.zip |
DIRECTOR: Execute proper script on frames. This fixes the playback
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index c07804b5a1..9dd8cd8ba2 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -752,8 +752,8 @@ void Score::update() { _surface->copyFrom(*_trailSurface); //Enter and exit from previous frame (Director 4) - _lingo->processEvent(kEventEnterFrame, _currentFrame); - _lingo->processEvent(kEventExitFrame, _currentFrame); + _lingo->processEvent(kEventEnterFrame, _frames[_currentFrame]->_actionId); + _lingo->processEvent(kEventExitFrame, _frames[_currentFrame]->_actionId); //TODO Director 6 - another order |