[Scummvm-cvs-logs] SF.net SVN: scummvm:[51409] scummvm/trunk/engines/sci/engine/kscripts.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jul 28 11:21:59 CEST 2010


Revision: 51409
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51409&view=rev
Author:   thebluegr
Date:     2010-07-28 09:21:58 +0000 (Wed, 28 Jul 2010)

Log Message:
-----------
SCI: Changed a warning into debug output

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kscripts.cpp

Modified: scummvm/trunk/engines/sci/engine/kscripts.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kscripts.cpp	2010-07-28 08:05:16 UTC (rev 51408)
+++ scummvm/trunk/engines/sci/engine/kscripts.cpp	2010-07-28 09:21:58 UTC (rev 51409)
@@ -104,8 +104,10 @@
 				if (id.getType() == kResourceTypeInvalid)
 					warning("[resMan] Attempt to unlock resource %i of invalid type %i", id.getNumber(), type);
 				else
-					// Happens in CD games (e.g. LSL6CD) with the message resource
-					warning("[resMan] Attempt to unlock non-existant resource %s", id.toString().c_str());
+					// Happens in CD games (e.g. LSL6CD) with the message
+					// resource. It isn't fatal, and it's usually caused
+					// by leftover scripts.
+					debugC(2, kDebugLevelResMan, "[resMan] Attempt to unlock non-existant resource %s", id.toString().c_str());
 			}
 		}
 		break;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list