aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/charset.cpp2
-rw-r--r--engines/scumm/charset.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index b248b5cb6d..48382dd311 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -1098,8 +1098,6 @@ void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const
} else {
if (_shadowMode != kNoShadowMode) {
*(dst + 1) = _shadowColor;
- *(dst + s.pitch) = _shadowColor;
- *(dst + s.pitch + 1) = _shadowColor;
}
*dst = _color;
}
diff --git a/engines/scumm/charset.h b/engines/scumm/charset.h
index 8071160e7b..fd8f3e060b 100644
--- a/engines/scumm/charset.h
+++ b/engines/scumm/charset.h
@@ -108,7 +108,7 @@ protected:
ShadowMode _shadowMode;
void enableShadow(bool enable);
- void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
+ virtual void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
public:
CharsetRendererCommon(ScummEngine *vm);