diff options
Diffstat (limited to 'engines/kyra/screen_lok.cpp')
-rw-r--r-- | engines/kyra/screen_lok.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_lok.cpp b/engines/kyra/screen_lok.cpp index 314e4c46ae..bd6d25c5e7 100644 --- a/engines/kyra/screen_lok.cpp +++ b/engines/kyra/screen_lok.cpp @@ -96,7 +96,7 @@ void Screen_LoK::fadeSpecialPalette(int palIndex, int startIndex, int size, int void Screen_LoK::addBitBlitRect(int x, int y, int w, int h) { debugC(9, kDebugLevelScreen, "Screen_LoK::addBitBlitRects(%d, %d, %d, %d)", x, y, w, h); - if (_bitBlitNum >= BITBLIT_RECTS) + if (_bitBlitNum >= kNumBitBlitRects) error("too many bit blit rects"); _bitBlitRects[_bitBlitNum].left = x; |