mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
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:
parent
3a8a7f3cf5
commit
1cb306ac87
1 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
fx += 2;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue