Fix vanilla font bug

This commit is contained in:
Sergeanur 2020-12-08 02:22:02 +02:00
parent 61c6b28237
commit 8844caf44d

View file

@ -374,7 +374,11 @@ CFont::PrintChar(float x, float y, wchar c)
if(Details.style == FONT_BANK || Details.style == FONT_STANDARD){ if(Details.style == FONT_BANK || Details.style == FONT_STANDARD){
if (bDontPrint) return; if (bDontPrint) return;
if (RenderState.slant == 0.0f) { if (RenderState.slant == 0.0f) {
#ifdef FIX_BUGS
if (c < 192) {
#else
if (c < 193) { if (c < 193) {
#endif
CSprite2d::AddToBuffer( CSprite2d::AddToBuffer(
CRect(x, y, CRect(x, y,
x + 32.0f * RenderState.scaleX * 1.0f, x + 32.0f * RenderState.scaleX * 1.0f,