diff options
author | Joseph-Eugene Winzer | 2017-08-04 11:52:32 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 01:01:19 +0000 |
commit | aa0606beedc5bd68852bd5195373a80c685312ff (patch) | |
tree | 27fddc3b858b8f58c5afc7fa7b4a2b3cbc3f18dd /engines | |
parent | d4c8fe528a5d831c23e30d5ec53e159b60c50925 (diff) | |
download | scummvm-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.cpp | 3 |
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)); |