diff options
author | Eugene Sandulenko | 2017-01-11 19:07:37 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-11 19:27:19 +0100 |
commit | 8eb8f9b0ef79b47fc8e149d5b86034bf99e2c9ce (patch) | |
tree | 583c32f2865d9809110e044e341a0a7b92d12e47 /engines | |
parent | 895e02e1f61feb3cd7e9f73bc5a5de0fb7b139f2 (diff) | |
download | scummvm-rg350-8eb8f9b0ef79b47fc8e149d5b86034bf99e2c9ce.tar.gz scummvm-rg350-8eb8f9b0ef79b47fc8e149d5b86034bf99e2c9ce.tar.bz2 scummvm-rg350-8eb8f9b0ef79b47fc8e149d5b86034bf99e2c9ce.zip |
DIRECTOR: Lingo: Fixed argument count for factory methods
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/lingo/lingo-codegen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp index 71d7d3fa1e..335dad2c39 100644 --- a/engines/director/lingo/lingo-codegen.cpp +++ b/engines/director/lingo/lingo-codegen.cpp @@ -227,6 +227,7 @@ void Lingo::define(Common::String &name, int start, int nargs, Common::String *p sym->u.defn = new ScriptData(&(*_currentScript)[start], end - start + 1); sym->nargs = nargs; + sym->maxArgs = nargs; } int Lingo::codeString(const char *str) { |