aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-funcs.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-04 15:16:25 +0100
committerEugene Sandulenko2017-02-04 15:17:13 +0100
commit6d8d398cf751eb9fe2242ce259a08418c041a6d6 (patch)
tree3c36dd17b828f49121e48761de8128c455b0ef10 /engines/director/lingo/lingo-funcs.cpp
parente15f2e7d2dfa37a0a8b13cde2b464cddc52bad12 (diff)
downloadscummvm-rg350-6d8d398cf751eb9fe2242ce259a08418c041a6d6.tar.gz
scummvm-rg350-6d8d398cf751eb9fe2242ce259a08418c041a6d6.tar.bz2
scummvm-rg350-6d8d398cf751eb9fe2242ce259a08418c041a6d6.zip
DIRECTOR: Implemented pausing/continuing of playback
Diffstat (limited to 'engines/director/lingo/lingo-funcs.cpp')
-rw-r--r--engines/director/lingo/lingo-funcs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-funcs.cpp b/engines/director/lingo/lingo-funcs.cpp
index 140549be8b..ef19293d92 100644
--- a/engines/director/lingo/lingo-funcs.cpp
+++ b/engines/director/lingo/lingo-funcs.cpp
@@ -169,6 +169,8 @@ void Lingo::func_mciwait(Common::String &s) {
}
void Lingo::func_goto(Datum &frame, Datum &movie) {
+ g_director->_playbackPaused = false;
+
if (movie.type != VOID) {
movie.toString();
@@ -221,7 +223,7 @@ void Lingo::func_gotonext() {
_vm->_currentScore->gotoNext();
}
-
+
void Lingo::func_gotoprevious() {
if (!_vm->_currentScore)
return;