Turned the error when failing to locate an invalid object back to a warning (KQ5 French has an invalid object in script 202)

svn-id: r50379
This commit is contained in:
Filippos Karapetis 2010-06-27 16:02:03 +00:00
parent 01bfcf98cc
commit d7f212647a

View file

@ -224,8 +224,9 @@ void SegManager::scriptInitialiseObjectsSci0(SegmentId seg) {
obj->initSpecies(this, addr);
if (!obj->initBaseObject(this, addr)) {
error("Failed to locate base object for object at %04X:%04X; skipping", PRINT_REG(addr));
//scr->scriptObjRemove(addr);
// Script 202 of KQ5 French has an invalid object
warning("Failed to locate base object for object at %04X:%04X; skipping", PRINT_REG(addr));
scr->scriptObjRemove(addr);
}
}
break;