SCUMM: (DIG/CJK) - fix bug in charset rendering
This fixes the bug shown in the fourth row of screenshots in ticket no. 11656 (DIG Asteroid scene). That bug could basically appear in any other scene which uses the xstart offset.
This commit is contained in:
parent
c5216c6367
commit
e665730d3d
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ void CharsetRendererClassic::printCharIntern(bool is2byte, const byte *charPtr,
|
|||
}
|
||||
|
||||
if (is2byte && _vm->_game.platform != Common::kPlatformFMTowns)
|
||||
drawBits1(dstSurface, _left, drawTop, charPtr, drawTop, origWidth, origHeight);
|
||||
drawBits1(dstSurface, _left + vs->xstart, drawTop, charPtr, drawTop, origWidth, origHeight);
|
||||
else
|
||||
drawBitsN(dstSurface, dstPtr, charPtr, *_fontPtr, drawTop, origWidth, origHeight);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue