aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/gfx.cpp')
-rw-r--r--engines/agos/gfx.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp
index f2b6e06a34..193b7347d6 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -629,7 +629,7 @@ void AGOSEngine_Simon1::draw32ColorImage(VC10_state *state) {
do {
for (i = 0; i != state->draw_width; i++)
if ((state->flags & kDFNonTrans) || src[i])
- dst[i] = src[i];
+ dst[i] = src[i] + state->paletteMod;
dst += _screenWidth;
src += state->width * 16;
} while (--h);
@@ -726,6 +726,10 @@ void AGOSEngine_Simon1::drawImage(VC10_state *state) {
state->surf_addr += xoffs + yoffs * state->surf_pitch;
state->surf2_addr += xoffs + yoffs * state->surf2_pitch;
+ if ((getFeatures() & GF_32COLOR) && !_window3Flag && yoffs > 133) {
+ state->paletteMod = 208;
+ }
+
if (_backFlag == 1) {
drawBackGroundImage(state);
} else if (state->flags & kDFMasked) {