diff options
author | Torbjörn Andersson | 2008-03-18 19:31:38 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-03-18 19:31:38 +0000 |
commit | 12bfc644f4d3e83193e60de2808798584fe1e8f9 (patch) | |
tree | c86d6f1508cf757c3a6754c532b1a018c7435444 | |
parent | f1b11fdff9cb6fc332100b910d7daaf441f7d0c1 (diff) | |
download | scummvm-rg350-12bfc644f4d3e83193e60de2808798584fe1e8f9.tar.gz scummvm-rg350-12bfc644f4d3e83193e60de2808798584fe1e8f9.tar.bz2 scummvm-rg350-12bfc644f4d3e83193e60de2808798584fe1e8f9.zip |
Fixed some warnings, so that I too may bask in the glory of Kyrandia 2.
svn-id: r31188
-rw-r--r-- | engines/kyra/animator_v2.cpp | 4 | ||||
-rw-r--r-- | engines/kyra/scene_v2.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/animator_v2.cpp b/engines/kyra/animator_v2.cpp index f8b6f557fa..8119c0fb9c 100644 --- a/engines/kyra/animator_v2.cpp +++ b/engines/kyra/animator_v2.cpp @@ -373,7 +373,7 @@ void KyraEngine_v2::updateSceneAnim(int anim, int newFrame) { } void KyraEngine_v2::drawSceneAnimObject(AnimObj *obj, int x, int y, int layer) { - debugC(9, kDebugLevelAnimator, "KyraEngine_v2::drawSceneAnimObject(%p, %d, %d, layer)", (const void*)obj, x, y, layer); + debugC(9, kDebugLevelAnimator, "KyraEngine_v2::drawSceneAnimObject(%p, %d, %d, %d)", (const void*)obj, x, y, layer); if (obj->type == 1) { if (obj->shapeIndex1 == 0xFFFF) return; @@ -407,7 +407,7 @@ void KyraEngine_v2::drawSceneAnimObject(AnimObj *obj, int x, int y, int layer) { } void KyraEngine_v2::drawCharacterAnimObject(AnimObj *obj, int x, int y, int layer) { - debugC(9, kDebugLevelAnimator, "KyraEngine_v2::drawCharacterAnimObject(%p, %d, %d, layer)", (const void*)obj, x, y, layer); + debugC(9, kDebugLevelAnimator, "KyraEngine_v2::drawCharacterAnimObject(%p, %d, %d, %d)", (const void*)obj, x, y, layer); if (_drawNoShapeFlag || obj->shapeIndex1 == 0xFFFF) return; _screen->drawShape(2, getShapePtr(obj->shapeIndex1), x, y, 2, obj->flags | 4, layer, _charScaleX, _charScaleY); diff --git a/engines/kyra/scene_v2.cpp b/engines/kyra/scene_v2.cpp index dbbeeb2b5c..4612862241 100644 --- a/engines/kyra/scene_v2.cpp +++ b/engines/kyra/scene_v2.cpp @@ -926,7 +926,7 @@ int KyraEngine_v2::pathfinderAddToPositionIndexTable(int index, int v) { } void KyraEngine_v2::pathfinderFinializePath(int *moveTable, int tableLen, int x, int y, int moveTableSize) { - debugC(9, kDebugLevelMain, "KyraEngine_v2::pathfinderFinializePath(%p, %d, %d, %d, %d)", moveTable, tableLen, x, y, moveTableSize); + debugC(9, kDebugLevelMain, "KyraEngine_v2::pathfinderFinializePath(%p, %d, %d, %d, %d)", (void *)moveTable, tableLen, x, y, moveTableSize); int x1 = 0, y1 = 0; int x2 = 0, y2 = 0; int index1 = 0, index2 = 0; |