diff options
author | Max Horn | 2005-05-15 10:40:28 +0000 |
---|---|---|
committer | Max Horn | 2005-05-15 10:40:28 +0000 |
commit | fb11e793876b25e47fd4f35ed0f30d3febcc84b0 (patch) | |
tree | 5a6777fe1b50b11e3f0d0f5f94b116dfb9bc845f /scumm/nut_renderer.cpp | |
parent | e5bbfe8df9e3fb291d840a3cbcdc947185bfd3fa (diff) | |
download | scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.tar.gz scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.tar.bz2 scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.zip |
Replaced global revBitMask array with a macro
svn-id: r18104
Diffstat (limited to 'scumm/nut_renderer.cpp')
-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 0a3e718cd2..9cbce81c4b 100644 --- a/scumm/nut_renderer.cpp +++ b/scumm/nut_renderer.cpp @@ -378,7 +378,7 @@ void NutRenderer::draw2byte(const Graphics::Surface &s, int c, int x, int y, byt bits = *src++; if (x + tx < 0 || x + tx >= s.w || y + ty < 0) continue; - if (bits & revBitMask[tx & 7]) { + if (bits & revBitMask(tx % 8)) { dst[tx] = color; } } |