aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/nebular/nebular_scenes2.cpp')
-rw-r--r--engines/mads/nebular/nebular_scenes2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp
index e8d8a2826a..b91384d85b 100644
--- a/engines/mads/nebular/nebular_scenes2.cpp
+++ b/engines/mads/nebular/nebular_scenes2.cpp
@@ -760,7 +760,7 @@ void Scene202::actions() {
}
_scene->_nextSceneId = 201;
} else if (action->isAction(VERB_TAKE, 0x2C)) {
- if (action->_actionMode2 == 4) {
+ if (action->_mainObjectSource == 4) {
if (_game._trigger == 0) {
if (_game._objects.isInInventory(OBJ_BONES)) {
_vm->_dialogs->show(0x4EFB);
@@ -952,7 +952,7 @@ void Scene202::actions() {
} else if (action->isAction(VERB_TAKE, 0x140)) {
_vm->_dialogs->show(0x4EF8);
} else if (action->isAction(VERB_LOOK, 0x2D)) {
- if (action->_actionMode == 4)
+ if (action->_commandSource == 4)
_vm->_dialogs->show(0x4EF9);
else
return;