aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-08-04 11:52:32 +0200
committerThierry Crozat2018-01-23 01:01:19 +0000
commitaa0606beedc5bd68852bd5195373a80c685312ff (patch)
tree27fddc3b858b8f58c5afc7fa7b4a2b3cbc3f18dd /engines
parentd4c8fe528a5d831c23e30d5ec53e159b60c50925 (diff)
downloadscummvm-rg350-aa0606beedc5bd68852bd5195373a80c685312ff.tar.gz
scummvm-rg350-aa0606beedc5bd68852bd5195373a80c685312ff.tar.bz2
scummvm-rg350-aa0606beedc5bd68852bd5195373a80c685312ff.zip
SUPERNOVA: Replaces longjmp to 'dead'
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/rooms.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp
index bb9667cbca..d19529a9e9 100644
--- a/engines/supernova/rooms.cpp
+++ b/engines/supernova/rooms.cpp
@@ -666,7 +666,8 @@ bool ShipAirlock::interact(Action verb, Object &obj1, Object &obj2) {
if (!r->getObject(4)->hasProperty(WORN) ||
!r->getObject(5)->hasProperty(WORN) ||
!r->getObject(6)->hasProperty(WORN)) {
-// longjmp(dead, "Zu niedriger Luftdruck soll ungesund sein.");
+ _gm->death("Zu niedriger Luftdruck soll ungesund sein.");
+ return true;
}
}
_gm->drawImage(_gm->invertSection(11));