diff options
author | Gregory Montoir | 2004-09-23 19:51:12 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-09-23 19:51:12 +0000 |
commit | 9aa01251ffdab6efb03593b7f66c62c20b9c3333 (patch) | |
tree | 457eb6c86de58eecce2378ab05770b5314440324 /scumm/akos.cpp | |
parent | 9f97086b2f4bfff508f010fea3ee96fe307422cd (diff) | |
download | scummvm-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.cpp | 1 |
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++]; } |