1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-09 18:39:45 +01:00

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

View file

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