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/savegame.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/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 256a1aef03..eba5e67cb6 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -776,8 +776,8 @@ void SegManager::reconstructScripts(EngineState *s) { if (getSciVersion() < SCI_VERSION_1_1) { if (!obj->initBaseObject(this, addr, false)) { - 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); } } } @@ -809,7 +809,7 @@ void SegManager::reconstructClones() { const Object *baseObj = getObject(seeker.getSpeciesSelector()); seeker.cloneFromObject(baseObj); if (!baseObj) - warning("Clone entry without a base class: %d", j); + error("Clone entry without a base class: %d", j); } // end for } // end if } // end for |