aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2011-10-11 01:39:56 +0300
committerFilippos Karapetis2011-10-11 01:39:56 +0300
commitd71aec0b39c7f05a35f6781b84a8717c581b8560 (patch)
treea274535cfff5adefd2518ba15811bbd896cd6577 /engines
parent3b5b24c8d5b7b9350c1a836638c426ca53dd8b65 (diff)
downloadscummvm-rg350-d71aec0b39c7f05a35f6781b84a8717c581b8560.tar.gz
scummvm-rg350-d71aec0b39c7f05a35f6781b84a8717c581b8560.tar.bz2
scummvm-rg350-d71aec0b39c7f05a35f6781b84a8717c581b8560.zip
SCI: Changed a warning about wrong object variable count into a debugC
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/object.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sci/engine/object.cpp b/engines/sci/engine/object.cpp
index a1854a2723..78e216cdb5 100644
--- a/engines/sci/engine/object.cpp
+++ b/engines/sci/engine/object.cpp
@@ -202,9 +202,10 @@ bool Object::initBaseObject(SegManager *segMan, reg_t addr, bool doInitSuperClas
name = "<invalid name>";
}
- warning("Object %04x:%04x (name %s, script %d) varnum doesn't "
- "match baseObj's: obj %d, base %d", PRINT_REG(_pos),
- name, objScript, originalVarCount, baseObj->getVarCount());
+ debugC(kDebugLevelVM, "Object %04x:%04x (name %s, script %d) "
+ "varnum doesn't match baseObj's: obj %d, base %d",
+ PRINT_REG(_pos), name, objScript,
+ originalVarCount, baseObj->getVarCount());
#if 0
// We enumerate the methods selectors which could be hidden here