aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/script.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp
index b6bcbb7646..f9584a2897 100644
--- a/engines/sci/engine/script.cpp
+++ b/engines/sci/engine/script.cpp
@@ -471,8 +471,11 @@ void Script::initialiseObjectsSci0(SegManager *segMan) {
obj->initSpecies(segMan, addr);
if (!obj->initBaseObject(segMan, addr)) {
- // Script 202 of KQ5 French has an invalid object. This is non-fatal.
- warning("Failed to locate base object for object at %04X:%04X; skipping", PRINT_REG(addr));
+ if (_nr == 202 && g_sci->getGameId() == GID_KQ5 && g_sci->getSciLanguage() == K_LANG_FRENCH) {
+ // Script 202 of KQ5 French has an invalid object. This is non-fatal.
+ } else {
+ error("Failed to locate base object for object at %04X:%04X; skipping", PRINT_REG(addr));
+ }
scriptObjRemove(addr);
}
}