aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2007-01-29 20:23:27 +0000
committerJohannes Schickel2007-01-29 20:23:27 +0000
commit5bf2396dd85f7956d57cecdba9ed049459b62924 (patch)
tree61723e4486805c2dfcc9716310c1aa3720fac768
parent10a3eebe5a3aba9a3dee570fce6ef338cc5ec3d4 (diff)
downloadscummvm-rg350-5bf2396dd85f7956d57cecdba9ed049459b62924.tar.gz
scummvm-rg350-5bf2396dd85f7956d57cecdba9ed049459b62924.tar.bz2
scummvm-rg350-5bf2396dd85f7956d57cecdba9ed049459b62924.zip
Changed debug message on unknown opcode to a warning.
svn-id: r25263
-rw-r--r--engines/kyra/sprites.cpp4
1 files 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;
}
}