diff options
| author | Max Horn | 2002-08-31 13:29:10 +0000 |
|---|---|---|
| committer | Max Horn | 2002-08-31 13:29:10 +0000 |
| commit | a39711e25670b366ed76534cc926ac70ea6c1edd (patch) | |
| tree | 3fdba199dc0d93333d68dbb44a7e1bc571f78d93 /scumm/string.cpp | |
| parent | 0c7771a7062fc982cbaca53fee022d9538a44f70 (diff) | |
| download | scummvm-rg350-a39711e25670b366ed76534cc926ac70ea6c1edd.tar.gz scummvm-rg350-a39711e25670b366ed76534cc926ac70ea6c1edd.tar.bz2 scummvm-rg350-a39711e25670b366ed76534cc926ac70ea6c1edd.zip | |
fixed compilation on Mac OS X; some cleanup; moved header file scumm/smusH/rect.h to common/rect.h
svn-id: r4877
Diffstat (limited to 'scumm/string.cpp')
| -rw-r--r-- | scumm/string.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 1c85f6a7c9..b955cf5dca 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -951,8 +951,6 @@ void CharsetRenderer::printChar(int chr) _mask_ptr = _vm->getResourceAddress(rtBuffer, 9) + _drawTop * 40 + _left / 8 + _vm->_screenStartStrip; - _revBitMask = revBitMask[_left & 7]; - _virtScreenHeight = vs->height; _charPtr += 4; @@ -992,7 +990,7 @@ void CharsetRenderer::drawBits() y = 0; for (y = 0; y < _height && y + _drawTop < _virtScreenHeight;) { - maskmask = _revBitMask; + maskmask = revBitMask[_left & 7]; maskpos = 0; for (x = 0; x < _width; x++) { |
