From d8d971c45953462282f5cdd6ececc2f90127ae7c Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 1 Aug 2019 00:34:35 +0000 Subject: [PATCH] Added another bugfix --- src/TextScr.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/TextScr.cpp b/src/TextScr.cpp index c6135890..02fecfc5 100644 --- a/src/TextScr.cpp +++ b/src/TextScr.cpp @@ -464,7 +464,14 @@ void PutTextScript() if (gTS.face_x < (TEXT_LEFT * 0x200)) 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); +#endif //Draw text if (gTS.face)