Fix assert triggered when sorting out meals in Blue's 123 Time Activies.

svn-id: r35715
This commit is contained in:
Travis Howell 2009-01-04 05:19:52 +00:00
parent d0fc28bbd1
commit 7ec0a13949

View File

@ -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++];
}