aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-31 16:27:10 +0100
committerEugene Sandulenko2019-12-31 16:27:28 +0100
commita85989dd8a0b130f4a0be44c90e6488cb60caf4f (patch)
treee33b21163d1561d79e818135feacf9fefc165ddd /engines/director/lingo
parentd64b6f16b3a028f44c7644e07891813c95335f9b (diff)
downloadscummvm-rg350-a85989dd8a0b130f4a0be44c90e6488cb60caf4f.tar.gz
scummvm-rg350-a85989dd8a0b130f4a0be44c90e6488cb60caf4f.tar.bz2
scummvm-rg350-a85989dd8a0b130f4a0be44c90e6488cb60caf4f.zip
DIRECTOR: LINGO: 'return' could have no arguments
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-builtins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp
index e9f4e366c6..ecd78e21b4 100644
--- a/engines/director/lingo/lingo-builtins.cpp
+++ b/engines/director/lingo/lingo-builtins.cpp
@@ -123,7 +123,7 @@ static struct BuiltinProto {
{ "preLoadCast", Lingo::b_preLoadCast, -1,0, false, 3, BLTIN }, // D3 c
{ "quit", Lingo::b_quit, 0, 0, false, 2, BLTIN }, // D2 c
{ "restart", Lingo::b_restart, 0, 0, false, 2, BLTIN }, // D2 c
- { "return", Lingo::b_return, 1, 1, false, 2, BLTIN }, // D2 function
+ { "return", Lingo::b_return, 0, 1, false, 2, BLTIN }, // D2 function
{ "shutDown", Lingo::b_shutDown, 0, 0, false, 2, BLTIN }, // D2 c
{ "startTimer", Lingo::b_startTimer, 0, 0, false, 2, BLTIN }, // D2 c
// when keyDown // D2