aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-09-23 19:51:12 +0000
committerGregory Montoir2004-09-23 19:51:12 +0000
commit9aa01251ffdab6efb03593b7f66c62c20b9c3333 (patch)
tree457eb6c86de58eecce2378ab05770b5314440324 /scumm/akos.cpp
parent9f97086b2f4bfff508f010fea3ee96fe307422cd (diff)
downloadscummvm-rg350-9aa01251ffdab6efb03593b7f66c62c20b9c3333.tar.gz
scummvm-rg350-9aa01251ffdab6efb03593b7f66c62c20b9c3333.tar.bz2
scummvm-rg350-9aa01251ffdab6efb03593b7f66c62c20b9c3333.zip
try to detect what's wrong in akos code with pjs2
svn-id: r15246
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 2153fe14c3..c9bcd0ff12 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -372,6 +372,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
uint j = 0;
extra = p[3];
uint8 n = extra;
+ assert(n < ARRAYSIZE(seq3Idx));
while (n--) {
seq3Idx[j++] = aksq[s++];
}