summaryrefslogtreecommitdiffstats
path: root/src/render/Font.cpp
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2021-01-25 23:01:32 +0100
committerGitHub <noreply@github.com>2021-01-25 23:01:32 +0100
commit0ae6d1fecf9a3609179089ea0ca4f01380f370d3 (patch)
tree24e3ff01a010dd57c1c4ba647a9059f329e04650 /src/render/Font.cpp
parentconfig (diff)
parentMerge pull request #992 from ForeverL95/ForeverL95-patch-1 (diff)
downloadre3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.gz
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.bz2
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.lz
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.xz
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.zst
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.zip
Diffstat (limited to 'src/render/Font.cpp')
-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 b559ca7a..45ea9ac2 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -358,7 +358,7 @@ CFont::PrintChar(float x, float y, wchar c)
CSprite2d::AddToBuffer(
CRect(x, y + RenderState.scaleY * 4.0f,
x + 32.0f * RenderState.scaleY * xScale * 0.96f,
- y + 4.0f * RenderState.scaleY * + 16.0f * RenderState.scaleY),
+ y + 4.0f * RenderState.scaleY + 16.0f * RenderState.scaleY),
RenderState.color,
xoff / 16.0f, yoff / 12.8f + 0.0021f,
(xoff + 1.0f) / 16.0f - 0.001f, yoff / 12.8f + 0.0021f,