mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
DIRECTOR: Lingo: Fixed argument count for factory methods
This commit is contained in:
parent
895e02e1f6
commit
8eb8f9b0ef
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user