Skip to content

Commit

Permalink
SCI: Changed a warning about wrong object variable count into a debugC
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Oct 10, 2011
1 parent 3b5b24c commit d71aec0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions engines/sci/engine/object.cpp
Expand Up @@ -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
Expand Down

0 comments on commit d71aec0

Please sign in to comment.