aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/features.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-17 23:45:38 +0000
committerFilippos Karapetis2010-06-17 23:45:38 +0000
commit9c1ec81d76def56d55df701df9d158532da1bf0f (patch)
tree18bea94eb7d3272529d010775868153df1ab126b /engines/sci/engine/features.cpp
parentf977faaf9f9d2289adfbc2ccf9338cb24266dce5 (diff)
downloadscummvm-rg350-9c1ec81d76def56d55df701df9d158532da1bf0f.tar.gz
scummvm-rg350-9c1ec81d76def56d55df701df9d158532da1bf0f.tar.bz2
scummvm-rg350-9c1ec81d76def56d55df701df9d158532da1bf0f.zip
Strict mode: Turned several severe errors (almost all detection related) into errors, instead of warnings
svn-id: r49972
Diffstat (limited to 'engines/sci/engine/features.cpp')
-rw-r--r--engines/sci/engine/features.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp
index 4eb6bf2a56..e8f2fe326c 100644
--- a/engines/sci/engine/features.cpp
+++ b/engines/sci/engine/features.cpp
@@ -51,13 +51,13 @@ reg_t GameFeatures::getDetectionAddr(const Common::String &objName, Selector slc
reg_t addr;
if (objAddr.isNull()) {
- warning("getDetectionAddr: %s object couldn't be found", objName.c_str());
+ error("getDetectionAddr: %s object couldn't be found", objName.c_str());
return NULL_REG;
}
if (methodNum == -1) {
if (lookupSelector(_segMan, objAddr, slc, NULL, &addr) != kSelectorMethod) {
- warning("getDetectionAddr: target selector is not a method of object %s", objName.c_str());
+ error("getDetectionAddr: target selector is not a method of object %s", objName.c_str());
return NULL_REG;
}
} else {
@@ -491,7 +491,7 @@ MoveCountType GameFeatures::detectMoveCountType() {
_moveCountType = kIncrementMoveCount;
} else {
if (!autoDetectMoveCountType()) {
- warning("Move count autodetection failed");
+ error("Move count autodetection failed");
_moveCountType = kIncrementMoveCount; // Most games do this, so best guess
}
}