aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/script.cpp b/script.cpp
index a7c7fa1f69..f7d7f297f4 100644
--- a/script.cpp
+++ b/script.cpp
@@ -734,7 +734,8 @@ void Scumm::runVerbCode(int object, int entry, int a, int b, int16 * vars)
where = whereIsObject(object);
if (where == WIO_NOT_FOUND) {
- error("Code for object %d not in room %d", object, _roomResource);
+ warning("Code for object %d not in room %d", object, _roomResource);
+ return;
}
obcd = getOBCDOffs(object);