diff options
author | Filippos Karapetis | 2011-12-28 20:15:08 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-28 20:15:08 +0200 |
commit | 972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a (patch) | |
tree | 7051292054ad6fd00dd139ffff5f277650b2ecac /engines/dreamweb/people.cpp | |
parent | eaed1b725a7720e5ca72d9c3d380c218c9e5ac6d (diff) | |
download | scummvm-rg350-972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a.tar.gz scummvm-rg350-972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a.tar.bz2 scummvm-rg350-972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a.zip |
DREAMWEB: Allow skipping the mad man sequence with the ESC key
Diffstat (limited to 'engines/dreamweb/people.cpp')
-rw-r--r-- | engines/dreamweb/people.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp index 6745a34453..98f36a90cc 100644 --- a/engines/dreamweb/people.cpp +++ b/engines/dreamweb/people.cpp @@ -186,8 +186,13 @@ void DreamWebEngine::madman(ReelRoutine &routine) { } if (newReelPointer == 66) { ++_vars._combatCount; + + if (_lastHardKey == 1) // ESC pressed, skip the mad man's speech + _vars._combatCount = _speechCount = (hasSpeech() ? 65 : 63); + madmanText(); newReelPointer = 53; + if (_vars._combatCount >= (hasSpeech() ? 64 : 62)) { if (_vars._combatCount == (hasSpeech() ? 70 : 68)) newReelPointer = 310; |