diff options
Diffstat (limited to 'engines/director/lingo/lingo-builtins.cpp')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index 03e1a86544..f34be6e526 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -904,8 +904,8 @@ void Lingo::b_printFrom(int nargs) { } void Lingo::b_quit(int nargs) { - if (g_director->_currentScore) - g_director->_currentScore->_stopPlay = true; + if (g_director->getCurrentScore()) + g_director->getCurrentScore()->_stopPlay = true; g_lingo->pushVoid(); } |