aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-15 13:00:19 +0000
committerFilippos Karapetis2010-10-15 13:00:19 +0000
commit9717686337d7acd83ed3e46daa57e929d3e632df (patch)
treeba515abed18ba3ddd95e25067f97bcf8630f3e2a /engines/made
parentc1e47e0e60249eec5f4445de245a53f0a800e136 (diff)
downloadscummvm-rg350-9717686337d7acd83ed3e46daa57e929d3e632df.tar.gz
scummvm-rg350-9717686337d7acd83ed3e46daa57e929d3e632df.tar.bz2
scummvm-rg350-9717686337d7acd83ed3e46daa57e929d3e632df.zip
MADE: Fixed bug #3087849 - "MADE: Code analysis warnings"
svn-id: r53487
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp
index 81c18ef64b..773e3d17ed 100644
--- a/engines/made/screen.cpp
+++ b/engines/made/screen.cpp
@@ -204,7 +204,7 @@ void Screen::drawSurface(Graphics::Surface *sourceSurface, int x, int y, int16 f
for (int16 yc = 0; yc < clipHeight; yc++) {
linePtr = source + sourceAdd;
for (int16 xc = 0; xc < clipWidth; xc++) {
- if (*linePtr && (_vm->getGameID() == GID_RTZ || (mask == 0 || maskp[xc] == 0))) {
+ if (*linePtr && (_vm->getGameID() == GID_RTZ || (mask == 0 || (maskp && maskp[xc] == 0)))) {
if (*linePtr)
dest[xc] = *linePtr;
}