mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 04:33:02 +00:00
Add graphic for netplay bots
This commit is contained in:
parent
91b0246d99
commit
c2dd06e053
1 changed files with 5 additions and 1 deletions
|
|
@ -8032,6 +8032,8 @@ static patch_t *kp_itemminimap;
|
|||
static patch_t *kp_alagles[10];
|
||||
static patch_t *kp_blagles[6];
|
||||
|
||||
static patch_t *kp_cpu;
|
||||
|
||||
void K_LoadKartHUDGraphics(void)
|
||||
{
|
||||
INT32 i, j;
|
||||
|
|
@ -8389,6 +8391,8 @@ void K_LoadKartHUDGraphics(void)
|
|||
buffer[7] = '0'+i;
|
||||
kp_blagles[i] = (patch_t *) W_CachePatchName(buffer, PU_HUDGFX);
|
||||
}
|
||||
|
||||
kp_cpu = (patch_t *) W_CachePatchName("K_CPU", PU_HUDGFX);
|
||||
}
|
||||
|
||||
// For the item toggle menu
|
||||
|
|
@ -9433,7 +9437,7 @@ void HU_DrawTabRankings(INT32 x, INT32 y, playersort_t *tab, INT32 scorelines, I
|
|||
{
|
||||
if (players[tab[i].num].bot)
|
||||
{
|
||||
; // TODO: Put a graphic here to indicate this player is a bot!
|
||||
V_DrawScaledPatch(x + ((i < 8) ? -25 : rightoffset + 3), y-2, 0, kp_cpu);
|
||||
}
|
||||
else if (tab[i].num != serverplayer || !server_lagless)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue