aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-12 09:36:10 +0000
committerPaweł Kołodziejski2003-04-12 09:36:10 +0000
commit9079a51cf26ca359da7cc787d8c7d44230be43da (patch)
treec7c1c85dc2a3d7443088e8993d14640159b42c8a
parent6d4b74819942e1766736fab19366317d6ccc2273 (diff)
downloadscummvm-rg350-9079a51cf26ca359da7cc787d8c7d44230be43da.tar.gz
scummvm-rg350-9079a51cf26ca359da7cc787d8c7d44230be43da.tar.bz2
scummvm-rg350-9079a51cf26ca359da7cc787d8c7d44230be43da.zip
fixed stupid bug
svn-id: r6982
-rw-r--r--scumm/gfx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index dba5fd13c7..a3e00e8463 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -858,8 +858,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h,
if (_vm->_features & GF_OLD_BUNDLE) {
zplane_list[1] = smap_ptr + READ_LE_UINT16(smap_ptr);
- }
- if (_vm->_gameId == GID_MONKEY_EGA) {
+ } else if (_vm->_gameId == GID_MONKEY_EGA) {
byte *ptr_z = smap_ptr;
for (i = 0; i < numzbuf; i++) {
int off = READ_LE_UINT16(ptr_z);