[Scummvm-cvs-logs] SF.net SVN: scummvm:[46079] scummvm/trunk/engines/scumm/charset.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sun Nov 22 12:36:30 CET 2009
Revision: 46079
http://scummvm.svn.sourceforge.net/scummvm/?rev=46079&view=rev
Author: Kirben
Date: 2009-11-22 11:36:30 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
Removed the incorrect line in CharsetRendererPCE::drawBits1().
Modified Paths:
--------------
scummvm/trunk/engines/scumm/charset.cpp
Modified: scummvm/trunk/engines/scumm/charset.cpp
===================================================================
--- scummvm/trunk/engines/scumm/charset.cpp 2009-11-22 11:20:37 UTC (rev 46078)
+++ scummvm/trunk/engines/scumm/charset.cpp 2009-11-22 11:36:30 UTC (rev 46079)
@@ -1092,12 +1092,12 @@
if ((bits & revBitMask(bitCount % 8)) && y + drawTop >= 0) {
if (bitDepth == 2) {
if (_shadowMode != kNoShadowMode) {
- WRITE_UINT16(dst + s.pitch + 2, 0);
+ WRITE_UINT16(dst + s.pitch + 2, _vm->_16BitPalette[_shadowColor]);
}
WRITE_UINT16(dst, _vm->_16BitPalette[_color]);
} else {
if (_shadowMode != kNoShadowMode) {
- *(dst + 1) = _shadowColor;
+ *(dst + s.pitch + 1) = _shadowColor;
}
*dst = _color;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list