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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Jul 29 01:01:28 CEST 2010


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

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

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

Modified: scummvm/trunk/engines/sci/engine/kpathing.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kpathing.cpp	2010-07-28 22:41:03 UTC (rev 51444)
+++ scummvm/trunk/engines/sci/engine/kpathing.cpp	2010-07-28 23:01:28 UTC (rev 51445)
@@ -944,7 +944,7 @@
 				}
 
 				if ((type == POLY_BARRED_ACCESS) || (type == POLY_CONTAINED_ACCESS))
-					debug("AvoidPath: start position at unreachable location");
+					debugC(2, kDebugLevelAvoidPath, "AvoidPath: start position at unreachable location");
 
 				// The original start position is in an invalid location, so we
 				// use the moved point and add the original one to the final path
@@ -1315,7 +1315,7 @@
 	}
 
 	if (openSet.empty())
-		warning("[avoidpath] End point (%i, %i) is unreachable", s->vertex_end->v.x, s->vertex_end->v.y);
+		debugC(2, kDebugLevelAvoidPath, "AvoidPath: End point (%i, %i) is unreachable", s->vertex_end->v.x, s->vertex_end->v.y);
 }
 
 static reg_t allocateOutputArray(SegManager *segMan, int size) {


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