diff options
author | Joseph-Eugene Winzer | 2017-12-16 14:25:57 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:43 +0000 |
commit | 8ccb752c33f033c94e68f5d89e005123c294b6a4 (patch) | |
tree | f093f8788bc1609b877defc1bcf9eb9efdc68ff3 | |
parent | ab6ae19ab358254a84a804883513a9d2db0f059c (diff) | |
download | scummvm-rg350-8ccb752c33f033c94e68f5d89e005123c294b6a4.tar.gz scummvm-rg350-8ccb752c33f033c94e68f5d89e005123c294b6a4.tar.bz2 scummvm-rg350-8ccb752c33f033c94e68f5d89e005123c294b6a4.zip |
SUPERNOVA: Puts on suit when leaving the restaurant
genericInteraction() has a special case when you take off your helmet
in the restaurant, it strips you completely.
Once you leave it's supposed to put on your suit, helmet and supply
but instead if flagged generic objects as worn.
-rw-r--r-- | engines/supernova/rooms.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp index 465bab383c..1f8a3c819f 100644 --- a/engines/supernova/rooms.cpp +++ b/engines/supernova/rooms.cpp @@ -1717,9 +1717,9 @@ bool ArsanoEntrance::interact(Action verb, Object &obj1, Object &obj2) { (_gm->_rooms[AIRLOCK]->getObject(5)->hasProperty(WORN)) && (_gm->_rooms[AIRLOCK]->getObject(6)->hasProperty(WORN)))) { _vm->renderMessage(kStringArsanoEntrance26); - getObject(4)->setProperty(WORN); - getObject(5)->setProperty(WORN); - getObject(6)->setProperty(WORN); + _gm->_rooms[AIRLOCK]->getObject(4)->setProperty(WORN); + _gm->_rooms[AIRLOCK]->getObject(5)->setProperty(WORN); + _gm->_rooms[AIRLOCK]->getObject(6)->setProperty(WORN); _gm->waitOnInput(_gm->_timer1); _vm->removeMessage(); } |