diff options
author | Filippos Karapetis | 2010-10-15 13:00:19 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-10-15 13:00:19 +0000 |
commit | 9717686337d7acd83ed3e46daa57e929d3e632df (patch) | |
tree | ba515abed18ba3ddd95e25067f97bcf8630f3e2a /engines/made | |
parent | c1e47e0e60249eec5f4445de245a53f0a800e136 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |