summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 13:23:03 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-20 13:23:03 +0100
commit9b820cc0b6e644f928feead82a50471076ad0dcf (patch)
treeb07fe85d61816da100601dfdb7e6b392a20cb669 /src
parentpc radar fix (diff)
downloadre3-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
Diffstat (limited to '')
-rw-r--r--src/render/Font.cpp2
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);
}