1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-05 08:15:54 +00:00

Fix CFont::PrintStringFromBottom

This commit is contained in:
Sergeanur 2021-01-20 14:23:03 +02:00
parent 2c1c5debca
commit 9b820cc0b6

View file

@ -741,7 +741,7 @@ void
CFont::PrintStringFromBottom(float x, float y, wchar *str)
{
y -= (32.0f * Details.scaleY / 2.0f + 2.0f * Details.scaleY) * GetNumberLines(x, y, str);
if (Details.slant == 0.0f)
if (Details.slant != 0.0f)
y -= ((Details.slantRefX - x) * Details.slant + Details.slantRefY);
PrintString(x, y, str);
}