mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-chat-spacing' into 'master'
Fix anti-offset behaviour for non-FRACUNIT params to V_DrawStringScaled See merge request KartKrew/Kart!2027
This commit is contained in:
commit
7819fedc2e
1 changed files with 1 additions and 1 deletions
|
|
@ -2715,7 +2715,7 @@ void V_DrawStringScaled(
|
|||
if (V_CharacterValid(font, c) == true)
|
||||
{
|
||||
// Remove offsets from patch
|
||||
fixed_t patchxofs = SHORT (font->font[c]->leftoffset) * dupx * FRACUNIT;
|
||||
fixed_t patchxofs = SHORT (font->font[c]->leftoffset) * dupx * scale;
|
||||
cw = SHORT (font->font[c]->width) * dupx;
|
||||
cxoff = (*fontspec.dim_fn)(scale, fontspec.chw, hchw, dupx, &cw);
|
||||
V_DrawFixedPatch(cx + cxoff + patchxofs, cy + cyoff, scale,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue