HUD: replace 4P bumpers/prisons sticker with srb2::Draw version

The color is one shade off, but we'll see if it matters.
This commit is contained in:
James R 2024-01-18 02:06:04 -08:00
parent 3a8a7f3cf5
commit 1cb306ac87

View file

@ -3356,7 +3356,15 @@ static void K_drawKartBumpersOrKarma(void)
}
}
V_DrawScaledPatch(fx-2 + (flipflag ? (SHORT(kp_ringstickersplit[1]->width) - 3) : 0), fy, V_HUDTRANS|V_SLIDEIN|splitflags|flipflag, kp_ringstickersplit[0]);
{
using srb2::Draw;
int width = 39;
Draw(fx-1 + (flipflag ? width + 3 : 0), fy+1)
.flags(V_HUDTRANS|V_SLIDEIN|splitflags)
.align(flipflag ? Draw::Align::kRight : Draw::Align::kLeft)
.width(width)
.small_sticker();
}
fx += 2;