aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2017-06-21 01:47:20 +0200
committerEugene Sandulenko2017-07-05 08:35:33 +0200
commit7b675fc1dee428aed4debff51383073a378d3784 (patch)
treea1d46f824a6e07918f21ec158812afcda7ac1b44 /engines
parent8a6dce9fd334230ec80b2c444cbddfad2cb429d6 (diff)
downloadscummvm-rg350-7b675fc1dee428aed4debff51383073a378d3784.tar.gz
scummvm-rg350-7b675fc1dee428aed4debff51383073a378d3784.tar.bz2
scummvm-rg350-7b675fc1dee428aed4debff51383073a378d3784.zip
DIRECTOR: Handle kEventNone with 1-ary processEvent
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo-events.cpp1
-rw-r--r--engines/director/score.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-events.cpp b/engines/director/lingo/lingo-events.cpp
index 7aabcff28f..7342bffebd 100644
--- a/engines/director/lingo/lingo-events.cpp
+++ b/engines/director/lingo/lingo-events.cpp
@@ -267,6 +267,7 @@ void Lingo::processEvent(LEvent event) {
case kEventIdle:
case kEventEnterFrame:
case kEventExitFrame:
+ case kEventNone:
processFrameEvent(event);
break;
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 29be599573..ee0d416f4e 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -1180,7 +1180,7 @@ void Score::update() {
// Enter and exit from previous frame (Director 4)
_lingo->processEvent(kEventEnterFrame);
- _lingo->processEvent(kEventNone, kFrameScript, _frames[_currentFrame]->_actionId);
+ _lingo->processEvent(kEventNone);
// TODO Director 6 - another order
if (_vm->getVersion() >= 6) {