mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 09:39:16 +01: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)
|
CFont::PrintStringFromBottom(float x, float y, wchar *str)
|
||||||
{
|
{
|
||||||
y -= (32.0f * Details.scaleY / 2.0f + 2.0f * Details.scaleY) * GetNumberLines(x, y, 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);
|
y -= ((Details.slantRefX - x) * Details.slant + Details.slantRefY);
|
||||||
PrintString(x, y, str);
|
PrintString(x, y, str);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user