diff options
author | Filippos Karapetis | 2010-06-17 23:50:28 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-17 23:50:28 +0000 |
commit | db70d66e4ae872ebdeb2a88ef0870708a30c7667 (patch) | |
tree | 3bdc2d2f30f33e77c2e367ea11a045d418283efc /engines/sci/engine/script.cpp | |
parent | 9c1ec81d76def56d55df701df9d158532da1bf0f (diff) | |
download | scummvm-rg350-db70d66e4ae872ebdeb2a88ef0870708a30c7667.tar.gz scummvm-rg350-db70d66e4ae872ebdeb2a88ef0870708a30c7667.tar.bz2 scummvm-rg350-db70d66e4ae872ebdeb2a88ef0870708a30c7667.zip |
Strict mode: Changed several warnings due to logic bugs into errors. If an error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning
svn-id: r49973
Diffstat (limited to 'engines/sci/engine/script.cpp')
-rw-r--r-- | engines/sci/engine/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp index 19e0b6f81a..8f3792552f 100644 --- a/engines/sci/engine/script.cpp +++ b/engines/sci/engine/script.cpp @@ -277,8 +277,8 @@ void script_instantiate_sci0(Script *scr, int segmentId, SegManager *segMan) { obj->initSpecies(segMan, addr); if (!obj->initBaseObject(segMan, addr)) { - warning("Failed to locate base object for object at %04X:%04X; skipping", PRINT_REG(addr)); - scr->scriptObjRemove(addr); + error("Failed to locate base object for object at %04X:%04X; skipping", PRINT_REG(addr)); + //scr->scriptObjRemove(addr); } } break; |