aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/people.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-28 20:15:08 +0200
committerFilippos Karapetis2011-12-28 20:15:08 +0200
commit972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a (patch)
tree7051292054ad6fd00dd139ffff5f277650b2ecac /engines/dreamweb/people.cpp
parenteaed1b725a7720e5ca72d9c3d380c218c9e5ac6d (diff)
downloadscummvm-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.cpp5
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;