aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-28 23:01:28 +0000
committerFilippos Karapetis2010-07-28 23:01:28 +0000
commit9e164f429da370244f92486cacde2e5ef9e25a46 (patch)
tree422f5ed939db3762526ea21a4928b0e4d443ae11 /engines/sci/engine
parenta2b6b84bfb43266a30dd9106148fe5a469181d7f (diff)
downloadscummvm-rg350-9e164f429da370244f92486cacde2e5ef9e25a46.tar.gz
scummvm-rg350-9e164f429da370244f92486cacde2e5ef9e25a46.tar.bz2
scummvm-rg350-9e164f429da370244f92486cacde2e5ef9e25a46.zip
SCI: Changed another warning into debug output
svn-id: r51445
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kpathing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index 30804a4a6b..45a52694dc 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -944,7 +944,7 @@ static Common::Point *fixup_start_point(PathfindingState *s, const Common::Point
}
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 @@ static void AStar(PathfindingState *s) {
}
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) {