diff options
Diffstat (limited to 'engines/director/lingo/lingo-code.cpp')
-rw-r--r-- | engines/director/lingo/lingo-code.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp index 0bc6c9d0b6..7b367d9720 100644 --- a/engines/director/lingo/lingo-code.cpp +++ b/engines/director/lingo/lingo-code.cpp @@ -702,6 +702,12 @@ void Lingo::c_call() { Symbol *sym = g_lingo->_handlers[name]; + if (sym->type == BLTIN) { + (*sym->u.func)(); + + return; + } + for (int i = nargs; i < sym->nargs; i++) { Datum d; |