diff options
author | Max Horn | 2004-01-08 01:43:32 +0000 |
---|---|---|
committer | Max Horn | 2004-01-08 01:43:32 +0000 |
commit | a65552794924ce2c86ad017854c56b6a926573d0 (patch) | |
tree | d17568e79146f9de17039ae94f3bcf746ec3b9f7 /scumm | |
parent | 467861917d11bc200412655a0676095c527cc188 (diff) | |
download | scummvm-rg350-a65552794924ce2c86ad017854c56b6a926573d0.tar.gz scummvm-rg350-a65552794924ce2c86ad017854c56b6a926573d0.tar.bz2 scummvm-rg350-a65552794924ce2c86ad017854c56b6a926573d0.zip |
fix maskpos (I think... needs testing)
svn-id: r12229
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/nut_renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/nut_renderer.cpp b/scumm/nut_renderer.cpp index 77fccda614..3877b764f6 100644 --- a/scumm/nut_renderer.cpp +++ b/scumm/nut_renderer.cpp @@ -327,7 +327,7 @@ void NutRenderer::drawChar(byte *dst, byte *mask, byte c, int x, int y, byte col for (int ty = minY; ty < height; ty++) { maskmask = revBitMask[(x + minX) & 7]; - maskpos = minX; + maskpos = (x%8 + minX) / 8; for (int tx = minX; tx < width; tx++) { if (src[tx] != 0) { dst[tx] = color; |