[Scummvm-cvs-logs] scummvm master -> d71aec0b39c7f05a35f6781b84a8717c581b8560

bluegr md5 at scummvm.org
Tue Oct 11 00:48:26 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d71aec0b39 SCI: Changed a warning about wrong object variable count into a debugC


Commit: d71aec0b39c7f05a35f6781b84a8717c581b8560
    https://github.com/scummvm/scummvm/commit/d71aec0b39c7f05a35f6781b84a8717c581b8560
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-10-10T15:39:56-07:00

Commit Message:
SCI: Changed a warning about wrong object variable count into a debugC

Changed paths:
    engines/sci/engine/object.cpp



diff --git a/engines/sci/engine/object.cpp b/engines/sci/engine/object.cpp
index a1854a2..78e216c 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






More information about the Scummvm-git-logs mailing list