diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 13:23:03 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 13:23:03 +0100 |
commit | 9b820cc0b6e644f928feead82a50471076ad0dcf (patch) | |
tree | b07fe85d61816da100601dfdb7e6b392a20cb669 | |
parent | pc radar fix (diff) | |
download | re3-9b820cc0b6e644f928feead82a50471076ad0dcf.tar re3-9b820cc0b6e644f928feead82a50471076ad0dcf.tar.gz re3-9b820cc0b6e644f928feead82a50471076ad0dcf.tar.bz2 re3-9b820cc0b6e644f928feead82a50471076ad0dcf.tar.lz re3-9b820cc0b6e644f928feead82a50471076ad0dcf.tar.xz re3-9b820cc0b6e644f928feead82a50471076ad0dcf.tar.zst re3-9b820cc0b6e644f928feead82a50471076ad0dcf.zip |
-rw-r--r-- | src/render/Font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp index 3798c5f2..de1ee8b4 100644 --- a/src/render/Font.cpp +++ b/src/render/Font.cpp @@ -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); } |