aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/charset.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 85af1e0b84..0d3a4e6aaa 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -759,10 +759,7 @@ void CharsetRendererClassic::drawBits(VirtScreen *vs, byte *dst, byte *mask, int
maskpos = 0;
for (x = 0; x < width; x++) {
- int myMask = (0xFF << (8 - _bpp)) & 0xFF;
- int myColor = (bits & myMask) >> (8 - _bpp);
color = (bits >> (8 - _bpp)) & 0xFF;
- assert(color == myColor);
if (color) {
if (useMask) {