From 5bf2396dd85f7956d57cecdba9ed049459b62924 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 29 Jan 2007 20:23:27 +0000 Subject: Changed debug message on unknown opcode to a warning. svn-id: r25263 --- engines/kyra/sprites.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/kyra/sprites.cpp b/engines/kyra/sprites.cpp index 13a405d066..da2f99df8a 100644 --- a/engines/kyra/sprites.cpp +++ b/engines/kyra/sprites.cpp @@ -385,9 +385,9 @@ void Sprites::updateSceneAnims() { data += 2; break; default: - debugC(1, kDebugLevelSprites, "Unsupported anim command %X in script %i", READ_LE_UINT16(data), i); + warning("Unsupported anim command %X in script %i", READ_LE_UINT16(data), i); //endLoop = true; - data += 1; + data += 2; break; } } -- cgit v1.2.3