aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/toltecs.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-01-02 22:18:09 +0100
committerTorbjörn Andersson2013-01-02 22:18:09 +0100
commitad36fb3366a68f6e49f00063371ca0ab6e02b929 (patch)
treeb28ee6a33bf18561ba8257cbb83be919d4f3e7fc /engines/toltecs/toltecs.cpp
parent6a8fc83f427a450c98fb9ecddbacbc823f7efac4 (diff)
downloadscummvm-rg350-ad36fb3366a68f6e49f00063371ca0ab6e02b929.tar.gz
scummvm-rg350-ad36fb3366a68f6e49f00063371ca0ab6e02b929.tar.bz2
scummvm-rg350-ad36fb3366a68f6e49f00063371ca0ab6e02b929.zip
TOLTECS: Don't allow dialog skipping while movies are playing
Diffstat (limited to 'engines/toltecs/toltecs.cpp')
-rw-r--r--engines/toltecs/toltecs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index 6d8a5eb782..86b2474d9d 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -340,7 +340,7 @@ void ToltecsEngine::updateInput() {
break;
case Common::KEYCODE_SPACE:
// Skip current dialog line, if a dialog is active
- if (_screen->getTalkTextDuration() > 0) {
+ if (!_moviePlayer->isPlaying() && _screen->getTalkTextDuration() > 0) {
_sound->stopSpeech();
_screen->finishTalkTextItems();
_keyState.reset(); // event consumed