aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/action.cpp4
-rw-r--r--engines/mads/nebular/nebular_scenes2.cpp2
-rw-r--r--engines/mads/scene_data.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp
index c762b9b993..240b493930 100644
--- a/engines/mads/action.cpp
+++ b/engines/mads/action.cpp
@@ -58,7 +58,7 @@ void MADSAction::clear() {
_hotspotId = -1;
_v86F3A = -1;
_v86F4C = -1;
- _action._verbId = -1;
+ _action._verbId = VERB_NONE;
_action._objectNameId = -1;
_action._indirectObjectId = -1;
_textChanged = true;
@@ -89,7 +89,7 @@ void MADSAction::set() {
bool flag = false;
_statusText = "";
- _action._verbId = -1;
+ _action._verbId = VERB_NONE;
_action._objectNameId = -1;
_action._indirectObjectId = -1;
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp
index f00aae4873..79143a935d 100644
--- a/engines/mads/nebular/nebular_scenes2.cpp
+++ b/engines/mads/nebular/nebular_scenes2.cpp
@@ -492,7 +492,7 @@ void Scene202::step() {
if (_globals[kMeteorologistWatch] == 1) {
MADSAction *action = _game._player._action;
- action->_activeAction._verbId = 3;
+ action->_activeAction._verbId = VERB_LOOK;
action->_activeAction._objectNameId = 39;
action->_activeAction._indirectObjectId = 438;
_game._triggerSetupMode = KERNEL_TRIGGER_PARSER;
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index abe0b7bf21..4c19202f4b 100644
--- a/engines/mads/scene_data.cpp
+++ b/engines/mads/scene_data.cpp
@@ -42,7 +42,7 @@ KernelMessage::KernelMessage() {
_timeout = 0;
_trigger = 0;
_abortMode = KERNEL_TRIGGER_PARSER;
- _actionDetails._verbId = 0;
+ _actionDetails._verbId = VERB_NONE;
_actionDetails._objectNameId = 0;
_actionDetails._indirectObjectId = 0;
}