aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/rooms.cpp6
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();
}