`bprintalpha`: Call `PrintAlpha` with a false `cen`

Whoops.

This fixes it so the outlines actually show up on the horizontal sides
of the outlined text.
This commit is contained in:
Misa 2021-09-06 19:50:24 -07:00
parent c64fd89325
commit 2c0d6920e8
1 changed files with 2 additions and 2 deletions

View File

@ -726,8 +726,8 @@ void Graphics::bprintalpha( int x, int y, const std::string& t, int r, int g, in
if (cen)
{
const int x_cen = 160 - len(t)/2;
PrintAlpha(x_cen - 1, y, t, 0, 0, 0, a, cen);
PrintAlpha(x_cen + 1, y, t, 0, 0, 0, a, cen);
PrintAlpha(x_cen - 1, y, t, 0, 0, 0, a, false);
PrintAlpha(x_cen + 1, y, t, 0, 0, 0, a, false);
}
else
{