aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-11 16:48:54 +0000
committerJohannes Schickel2008-05-11 16:48:54 +0000
commit61a105c9ba05ccff6be46a7b5c8a77192aa0c87e (patch)
treefea4b4f92635ccc11151252359b4bbd0e9c38a16 /engines/kyra
parent35d01db1aa02db8554772d88354786e291387499 (diff)
downloadscummvm-rg350-61a105c9ba05ccff6be46a7b5c8a77192aa0c87e.tar.gz
scummvm-rg350-61a105c9ba05ccff6be46a7b5c8a77192aa0c87e.tar.bz2
scummvm-rg350-61a105c9ba05ccff6be46a7b5c8a77192aa0c87e.zip
Updated pathfinder debug output.
svn-id: r32024
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/scene.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/scene.cpp b/engines/kyra/scene.cpp
index 9516da2dbd..e96a44cb2e 100644
--- a/engines/kyra/scene.cpp
+++ b/engines/kyra/scene.cpp
@@ -68,7 +68,7 @@ int KyraEngine::findWay(int x, int y, int toX, int toY, int *moveTable, int move
/*if (curX >= 0 && curY >= 0 && curX < 320 && curY < 200) {
screen()->setPagePixel(0, curX, curY, 11);
screen()->updateScreen();
- //waitTicks(5);
+ delayWithTicks(5);
}*/
moveTable[lastUsedEntry++] = newFacing;
x = curX;
@@ -84,7 +84,7 @@ int KyraEngine::findWay(int x, int y, int toX, int toY, int *moveTable, int move
/*if (curX >= 0 && curY >= 0 && curX < 320 && curY < 200) {
screen()->setPagePixel(0, curX, curY, 8);
screen()->updateScreen();
- //waitTicks(5);
+ delayWithTicks(5);
}*/
if (!lineIsPassable(curX, curY)) {
@@ -183,7 +183,7 @@ int KyraEngine::findSubPath(int x, int y, int toX, int toY, int *moveTable, int
/*if (xpos1 >= 0 && ypos1 >= 0 && xpos1 < 320 && ypos1 < 200) {
screen()->setPagePixel(0, xpos1, ypos1, unkTable[start]);
screen()->updateScreen();
- //waitTicks(5);
+ delayWithTicks(5);
}*/
if (newFacing & 1) {
int temp = xpos1 + addPosTableX[newFacing + start * 8];