From ba6dd3c751c6c96f125adea167bdcce2f9fba1aa Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 4 Feb 2023 21:23:51 +0300 Subject: [PATCH] engine: client: font: fix another inverted check --- engine/client/cl_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_font.c b/engine/client/cl_font.c index a75fc3cf..64d857e0 100644 --- a/engine/client/cl_font.c +++ b/engine/client/cl_font.c @@ -157,7 +157,7 @@ int CL_DrawCharacter( float x, float y, int number, rgba_t color, cl_font_t *fon return 0; rc = &font->fontRc[number]; - if( font->nearest || font->scale > 1.0f ) + if( font->nearest || font->scale <= 1.0f ) half = 0; s1 = ((float)rc->left + half ) / texw;