Skip to content

Commit

Permalink
AGOS: Fix invisibility in Amiga CD32 Simon the Sorcerer 1 demo
Browse files Browse the repository at this point in the history
This probably affects the full version as well, but I haven't
verified that. Either way, the old code was obviously wrong while
the new makes it look right to me.
  • Loading branch information
Torbjörn Andersson committed Nov 19, 2014
1 parent 74509eb commit f94f48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/agos/gfx.cpp
Expand Up @@ -547,7 +547,7 @@ void AGOSEngine_Simon1::drawMaskedImage(VC10_state *state) {
if ((dst[count * 2] & 0xF0) == 0x20)
dst[count * 2] = src[count * 2];
if (mask[count + state->x_skip] & 0x0F)
if ((dst[count * 2 + 1] & 0x0F) == 0x20)
if ((dst[count * 2 + 1] & 0xF0) == 0x20)
dst[count * 2 + 1] = src[count * 2 + 1];
} else {
/* no transparency */
Expand Down

0 comments on commit f94f48a

Please sign in to comment.