diff options
author | Eugene Sandulenko | 2017-03-10 09:13:46 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-10 09:13:46 +0100 |
commit | 2506f61575a694c27b759e4dd9d1ea194a3a9d0e (patch) | |
tree | 73caa32597ff86c0937582ea6925410edfb8557d | |
parent | f123a6e4eba2b859dbbea67354ea4b125627d8b1 (diff) | |
download | scummvm-rg350-2506f61575a694c27b759e4dd9d1ea194a3a9d0e.tar.gz scummvm-rg350-2506f61575a694c27b759e4dd9d1ea194a3a9d0e.tar.bz2 scummvm-rg350-2506f61575a694c27b759e4dd9d1ea194a3a9d0e.zip |
DIRECTOR: Lingo: Reset scripts when switching movies
-rw-r--r-- | engines/director/lingo/lingo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 706f76777d..d7ba3dbbef 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -318,6 +318,10 @@ void Lingo::processEvent(LEvent event, ScriptType st, int entityId) { void Lingo::restartLingo() { warning("STUB: restartLingo()"); + for (int i = 0; i <= kMaxScriptType; i++) { + _scripts[i].clear(); + } + // TODO // // reset the following: |