Added another bugfix
This commit is contained in:
parent
f0c062cdc8
commit
d8d971c459
1 changed files with 7 additions and 0 deletions
|
@ -464,7 +464,14 @@ void PutTextScript()
|
||||||
if (gTS.face_x < (TEXT_LEFT * 0x200))
|
if (gTS.face_x < (TEXT_LEFT * 0x200))
|
||||||
gTS.face_x += 0x1000;
|
gTS.face_x += 0x1000;
|
||||||
|
|
||||||
|
#ifdef FIX_BUGS
|
||||||
|
gTS.rcText.top -= 2;
|
||||||
|
PutBitmap3(&gTS.rcText, gTS.face_x / 0x200, gTS.rcText.top, &rcFace, SURFACE_ID_FACE);
|
||||||
|
gTS.rcText.top += 2;
|
||||||
|
#else
|
||||||
|
// The top few rows of pixels are cut off by the clip rectangle, and the facepic is off-centre
|
||||||
PutBitmap3(&gTS.rcText, gTS.face_x / 0x200, gTS.rcText.top - 3, &rcFace, SURFACE_ID_FACE);
|
PutBitmap3(&gTS.rcText, gTS.face_x / 0x200, gTS.rcText.top - 3, &rcFace, SURFACE_ID_FACE);
|
||||||
|
#endif
|
||||||
|
|
||||||
//Draw text
|
//Draw text
|
||||||
if (gTS.face)
|
if (gTS.face)
|
||||||
|
|
Loading…
Add table
Reference in a new issue