aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-11 16:15:06 +0400
committerAlyssa Milburn2011-06-15 17:34:10 +0200
commitd70bc05b8e2afb87a9a0033119fd312073905485 (patch)
tree4721d44588cea60ccd4c5b7ba1186327def54ab9
parentc8be54bbd85c0d86452cdd1f3b614e12dd52c7f0 (diff)
downloadscummvm-rg350-d70bc05b8e2afb87a9a0033119fd312073905485.tar.gz
scummvm-rg350-d70bc05b8e2afb87a9a0033119fd312073905485.tar.bz2
scummvm-rg350-d70bc05b8e2afb87a9a0033119fd312073905485.zip
DREAMWEB: added assertion
-rw-r--r--engines/dreamweb/dreamweb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp
index 788f98f148..9445f7f432 100644
--- a/engines/dreamweb/dreamweb.cpp
+++ b/engines/dreamweb/dreamweb.cpp
@@ -689,6 +689,7 @@ endline:
context.di = context.pop();
context.cx = context.pop();
+ assert((uint16)context.cx <= 480);
uint8 *dst = (uint8 *)s->getBasePtr(0, 480 - (uint16)context.cx);
memset(dst, 0, 640);