aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorstrangerke2011-04-26 00:10:08 +0200
committerstrangerke2011-04-26 00:10:08 +0200
commit09bf964807d35328a073fad3942a3e89f84c1ea6 (patch)
tree0624339deda3bdf5f0e96dce23a07cf34bb80d99 /engines
parentff0f391a9cc90fa4600cc5c20935fb91e7bfaac5 (diff)
downloadscummvm-rg350-09bf964807d35328a073fad3942a3e89f84c1ea6.tar.gz
scummvm-rg350-09bf964807d35328a073fad3942a3e89f84c1ea6.tar.bz2
scummvm-rg350-09bf964807d35328a073fad3942a3e89f84c1ea6.zip
HUGO: Add workaround for bug #3292389: Penelope splits up when dying in chasm
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/schedule.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp
index ca1583921e..9782dbc0bd 100644
--- a/engines/hugo/schedule.cpp
+++ b/engines/hugo/schedule.cpp
@@ -1143,6 +1143,10 @@ void Scheduler::insertAction(act *action) {
case AGSCHEDULE:
curEvent->localActionFl = false; // Lasts over a new screen
break;
+ // Workaround: When dying, switch to storyMode in order to block the keyboard.
+ case GAMEOVER:
+ _vm->getGameStatus().storyModeFl = true;
+ // No break on purpose
default:
curEvent->localActionFl = true; // Rest are for current screen only
break;