Skip to content

Commit

Permalink
DIRECTOR: Lingo: Reset scripts when switching movies
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Mar 10, 2017
1 parent f123a6e commit 2506f61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/director/lingo/lingo.cpp
Expand Up @@ -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:
Expand Down

0 comments on commit 2506f61

Please sign in to comment.