diff options
-rw-r--r-- | engines/mads/action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp index cfd84bf762..f1e27d7482 100644 --- a/engines/mads/action.cpp +++ b/engines/mads/action.cpp @@ -226,7 +226,7 @@ void MADSAction::set() { _statusText += kArticleList[articleNum]; } } else if ((_articleNumber == VERB_LOOK) || (_vm->getGameID() != GType_RexNebular) || - (scene._vocabStrings[_action._indirectObjectId] != kFenceStr)) { + (_action._indirectObjectId >= 0 && scene._vocabStrings[_action._indirectObjectId] != kFenceStr)) { // Write out the article _statusText += kArticleList[_articleNumber]; } else { |