diff options
author | Max Horn | 2007-07-29 17:37:08 +0000 |
---|---|---|
committer | Max Horn | 2007-07-29 17:37:08 +0000 |
commit | 50537d3ae0a9d41f42419d1898941bac3160b6d4 (patch) | |
tree | e7d2ec8d5bf6971c4f08de09aa243834c66e2c25 /engines/kyra | |
parent | b8d7b6e448dc25e5f11247fc063af6bffb05d333 (diff) | |
download | scummvm-rg350-50537d3ae0a9d41f42419d1898941bac3160b6d4.tar.gz scummvm-rg350-50537d3ae0a9d41f42419d1898941bac3160b6d4.tar.bz2 scummvm-rg350-50537d3ae0a9d41f42419d1898941bac3160b6d4.zip |
Fixed some warnings
svn-id: r28308
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/scene_v2.cpp | 6 | ||||
-rw-r--r-- | engines/kyra/script_v2.cpp | 2 |
2 files changed, 5 insertions, 3 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); } diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp index ce1cd99e03..3e1bc4ed2f 100644 --- a/engines/kyra/script_v2.cpp +++ b/engines/kyra/script_v2.cpp @@ -281,7 +281,7 @@ int KyraEngine_v2::o2_drawSceneShapeOnPage(ScriptState *script) { } int KyraEngine_v2::o2_restoreBackBuffer(ScriptState *script) { - debugC(3, kDebugLevelScriptFuncs, "o2_restoreBackBuffer(%p) (%d, %d)", (const void *)script, stackPos(0)); + debugC(3, kDebugLevelScriptFuncs, "o2_restoreBackBuffer(%p) (%d)", (const void *)script, stackPos(0)); int disable = stackPos(0); int oldState = 0; if (disable) { |