From dc813c1c209d29732f682df6bf126c9546d78e06 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 30 Mar 2008 03:21:01 +0000 Subject: Cleanup. svn-id: r31319 --- engines/kyra/screen.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 783d66fc05..b88ff773c8 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -539,9 +539,7 @@ void Screen::copyRegion(int x1, int y1, int x2, int y2, int w, int h, int srcPag h = SCREEN_H - y2; } - assert(x1 + w <= SCREEN_W && y1 + h <= SCREEN_H); const uint8 *src = getPagePtr(srcPage) + y1 * SCREEN_W + x1; - assert(x2 + w <= SCREEN_W && y2 + h <= SCREEN_H); uint8 *dst = getPagePtr(dstPage) + y2 * SCREEN_W + x2; if (dstPage == 0 || dstPage == 1) -- cgit v1.2.3