diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-08 01:22:02 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-08 01:22:02 +0100 |
commit | 8844caf44deda3dd53c4c253d54c79cb2879a633 (patch) | |
tree | ab5918839073c432904f52f3bf1a8a42a4f72024 /src | |
parent | Merge pull request #847 from waliedyassen/CObject-fixes (diff) | |
download | re3-8844caf44deda3dd53c4c253d54c79cb2879a633.tar re3-8844caf44deda3dd53c4c253d54c79cb2879a633.tar.gz re3-8844caf44deda3dd53c4c253d54c79cb2879a633.tar.bz2 re3-8844caf44deda3dd53c4c253d54c79cb2879a633.tar.lz re3-8844caf44deda3dd53c4c253d54c79cb2879a633.tar.xz re3-8844caf44deda3dd53c4c253d54c79cb2879a633.tar.zst re3-8844caf44deda3dd53c4c253d54c79cb2879a633.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Font.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp index 9b022394..a3132627 100644 --- a/src/render/Font.cpp +++ b/src/render/Font.cpp @@ -374,7 +374,11 @@ CFont::PrintChar(float x, float y, wchar c) if(Details.style == FONT_BANK || Details.style == FONT_STANDARD){ if (bDontPrint) return; if (RenderState.slant == 0.0f) { +#ifdef FIX_BUGS + if (c < 192) { +#else if (c < 193) { +#endif CSprite2d::AddToBuffer( CRect(x, y, x + 32.0f * RenderState.scaleX * 1.0f, |