aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-30 03:21:01 +0000
committerJohannes Schickel2008-03-30 03:21:01 +0000
commitdc813c1c209d29732f682df6bf126c9546d78e06 (patch)
tree224b5ed72ad89dc4bb975a596a6f4b950083ac16 /engines/kyra
parentb7a3dfd9df028dceaf4982e016c48f9be09833b6 (diff)
downloadscummvm-rg350-dc813c1c209d29732f682df6bf126c9546d78e06.tar.gz
scummvm-rg350-dc813c1c209d29732f682df6bf126c9546d78e06.tar.bz2
scummvm-rg350-dc813c1c209d29732f682df6bf126c9546d78e06.zip
Cleanup.
svn-id: r31319
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/screen.cpp2
1 files changed, 0 insertions, 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)