aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/sfuncs.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index 7d6a8da403..b4bc551316 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -435,7 +435,11 @@ void Script::sfScriptDoAction(SCRIPTFUNC_PARAMS) {
moduleNumber = _vm->_scene->getScriptModuleNumber();
break;
default:
- error("Script::sfScriptDoAction wrong object type 0x%X", objectId);
+ // Unknown case, do nothing
+ // Changing this from an error to a warning should fix bug
+ // #1861863 - "ITE: Crash when using Eeah with Eeah"
+ warning("Script::sfScriptDoAction wrong object type 0x%X", objectId);
+ return;
}
event.type = kEvTOneshot;