aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/gfx_support.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_support.cpp b/engines/sci/gfx/gfx_support.cpp
index 945dabec0e..1f48a6d2ab 100644
--- a/engines/sci/gfx/gfx_support.cpp
+++ b/engines/sci/gfx/gfx_support.cpp
@@ -265,7 +265,7 @@ void gfx_crossblit_pixmap(gfx_mode_t *mode, gfx_pixmap_t *pxm, int priority, rec
}
#ifdef SCUMM_BIG_ENDIAN
- alpha += (mode->bytespp) - (shift_nr + 1);
+ alpha += 1 - (shift_nr + 1);
#else
alpha += shift_nr;
#endif