mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 02:50:33 +00:00
engine: client: font: fix another inverted check
This commit is contained in:
parent
fd63018fb5
commit
ba6dd3c751
@ -157,7 +157,7 @@ int CL_DrawCharacter( float x, float y, int number, rgba_t color, cl_font_t *fon
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
rc = &font->fontRc[number];
|
rc = &font->fontRc[number];
|
||||||
if( font->nearest || font->scale > 1.0f )
|
if( font->nearest || font->scale <= 1.0f )
|
||||||
half = 0;
|
half = 0;
|
||||||
|
|
||||||
s1 = ((float)rc->left + half ) / texw;
|
s1 = ((float)rc->left + half ) / texw;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user