aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-04 23:31:53 +0100
committerEugene Sandulenko2017-02-04 23:32:22 +0100
commit76e66a4be40c0622f22c974b0724e743d113b7fb (patch)
treefa74f6c7c15595954f9e7a12c25e65df5bdde0c3 /engines/director/lingo
parent8e87dc1754a2111d2db252ead2264157c82d0159 (diff)
downloadscummvm-rg350-76e66a4be40c0622f22c974b0724e743d113b7fb.tar.gz
scummvm-rg350-76e66a4be40c0622f22c974b0724e743d113b7fb.tar.bz2
scummvm-rg350-76e66a4be40c0622f22c974b0724e743d113b7fb.zip
DIRECTOR: Lingo: Implemented b_quit()
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-builtins.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp
index 3f0f5e4850..bb2bdc2fe7 100644
--- a/engines/director/lingo/lingo-builtins.cpp
+++ b/engines/director/lingo/lingo-builtins.cpp
@@ -755,7 +755,10 @@ void Lingo::b_printFrom(int nargs) {
}
void Lingo::b_quit(int nargs) {
- warning("STUB: b_quit");
+ if (g_director->_currentScore)
+ g_director->_currentScore->_stopPlay = true;
+
+ g_lingo->pushVoid();
}
void Lingo::b_restart(int nargs) {