aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-01-04 05:19:52 +0000
committerTravis Howell2009-01-04 05:19:52 +0000
commit7ec0a139494b4243cd04eda94a1b2a3d5f6d3202 (patch)
tree0c54bca1e7d41e2446f1448548f9c459ebad1710 /engines
parentd0fc28bbd1bd5a3399c629e5d25ae3a64fef977c (diff)
downloadscummvm-rg350-7ec0a139494b4243cd04eda94a1b2a3d5f6d3202.tar.gz
scummvm-rg350-7ec0a139494b4243cd04eda94a1b2a3d5f6d3202.tar.bz2
scummvm-rg350-7ec0a139494b4243cd04eda94a1b2a3d5f6d3202.zip
Fix assert triggered when sorting out meals in Blue's 123 Time Activies.
svn-id: r35715
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index fc4aabcf88..c9771abd49 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -408,7 +408,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
uint j = 0;
extra = p[3];
uint8 n = extra;
- assert(n < ARRAYSIZE(heCondMaskIndex));
+ assert(n <= ARRAYSIZE(heCondMaskIndex));
while (n--) {
heCondMaskIndex[j++] = aksq[s++];
}