Browse Source

engine: client: font: fix another inverted check

pull/2/head
Alibek Omarov 2 years ago
parent
commit
ba6dd3c751
  1. 2
      engine/client/cl_font.c

2
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 @@ -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;

Loading…
Cancel
Save