diff options
author | Eugene Sandulenko | 2016-06-30 17:03:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | c53e4b579a0217e01208b7e06ead853f4319df7c (patch) | |
tree | 1a8e2a7f6b83b4dd9d82bf6d6ecd3b141dbce003 /engines/director/lingo/lingo.cpp | |
parent | 0b6d950729296c177ad502328fd5b5e3b0bb04c9 (diff) | |
download | scummvm-rg350-c53e4b579a0217e01208b7e06ead853f4319df7c.tar.gz scummvm-rg350-c53e4b579a0217e01208b7e06ead853f4319df7c.tar.bz2 scummvm-rg350-c53e4b579a0217e01208b7e06ead853f4319df7c.zip |
DIRECTOR: Lingo: Make global/local vars work
Diffstat (limited to 'engines/director/lingo/lingo.cpp')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index accd9a113d..e584ac02b9 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -167,7 +167,7 @@ void Lingo::executeScript(ScriptType type, uint16 id) { execute(_pc); - delete _localvars; + cleanLocalVars(); } void Lingo::processEvent(LEvent event, int entityId) { |