diff options
author | Tobia Tesan | 2017-06-21 00:26:41 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-05 08:35:33 +0200 |
commit | 8a6ef727cf45b71647d9905363edc0a4805e4928 (patch) | |
tree | f286084805dc6589ca59e6dd2a7605e0c8b0fa83 | |
parent | 5a4942b6c595d79d9aab6deef3552cbbeeeb2c2b (diff) | |
download | scummvm-rg350-8a6ef727cf45b71647d9905363edc0a4805e4928.tar.gz scummvm-rg350-8a6ef727cf45b71647d9905363edc0a4805e4928.tar.bz2 scummvm-rg350-8a6ef727cf45b71647d9905363edc0a4805e4928.zip |
DIRECTOR: Add kEventStart case for processGenericEvent
-rw-r--r-- | engines/director/lingo/lingo-events.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-events.cpp b/engines/director/lingo/lingo-events.cpp index f92ca8ec36..ff3f2b03e0 100644 --- a/engines/director/lingo/lingo-events.cpp +++ b/engines/director/lingo/lingo-events.cpp @@ -235,6 +235,12 @@ void Lingo::processFrameEvent(LEvent event) { void Lingo::processGenericEvent(LEvent event) { // Movie Script + int id = -1; + if (event == kEventStart) + id = 0; + else + warning("STUB: processGenericEvent called for something else than kEventStart or kEventPrepareMovie, additional logic probably needed"); + g_lingo->processEvent(event, kMovieScript, id); } void Lingo::processEvent(LEvent event) { @@ -251,6 +257,7 @@ void Lingo::processEvent(LEvent event) { processFrameEvent(event); break; + case kEventStart: case kEventStartMovie: case kEventStopMovie: case kEventIdle: |