mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 06:45:56 +00:00
Fix CFont::PrintStringFromBottom
This commit is contained in:
parent
2c1c5debca
commit
9b820cc0b6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue