aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_v2.cpp
diff options
context:
space:
mode:
authorMax Horn2007-07-29 17:37:08 +0000
committerMax Horn2007-07-29 17:37:08 +0000
commit50537d3ae0a9d41f42419d1898941bac3160b6d4 (patch)
treee7d2ec8d5bf6971c4f08de09aa243834c66e2c25 /engines/kyra/scene_v2.cpp
parentb8d7b6e448dc25e5f11247fc063af6bffb05d333 (diff)
downloadscummvm-rg350-50537d3ae0a9d41f42419d1898941bac3160b6d4.tar.gz
scummvm-rg350-50537d3ae0a9d41f42419d1898941bac3160b6d4.tar.bz2
scummvm-rg350-50537d3ae0a9d41f42419d1898941bac3160b6d4.zip
Fixed some warnings
svn-id: r28308
Diffstat (limited to 'engines/kyra/scene_v2.cpp')
-rw-r--r--engines/kyra/scene_v2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/scene_v2.cpp b/engines/kyra/scene_v2.cpp
index fbda1f8455..7863fa6638 100644
--- a/engines/kyra/scene_v2.cpp
+++ b/engines/kyra/scene_v2.cpp
@@ -689,11 +689,13 @@ int KyraEngine_v2::findWay(int x, int y, int toX, int toY, int *moveTable, int m
x &= ~3; toX &= ~3;
y &= ~1; toY &= ~1;
int size = KyraEngine::findWay(x, y, toX, toY, moveTable, moveTableSize);
- /*if (size) {
+ if (size) {
+/*
int temp = pathfinderUnk1(moveTable);
temp = pathfinderUnk3(temp, x, y);
pathfinderUnk5(moveTable, temp, x, y, moveTableSize);
- }*/
+*/
+ }
return getMoveTableSize(moveTable);
}