mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Silly fixes to absurd compiler warnings
Thanks toaster
This commit is contained in:
parent
eb680a5c16
commit
c9c6fb3918
1 changed files with 5 additions and 2 deletions
|
|
@ -3815,12 +3815,15 @@ void K_LoadKartHUDGraphics(void)
|
||||||
kp_lakitulaps[16] = W_CachePatchName("K_LAKIF8", PU_HUDGFX);
|
kp_lakitulaps[16] = W_CachePatchName("K_LAKIF8", PU_HUDGFX);
|
||||||
|
|
||||||
// Position numbers
|
// Position numbers
|
||||||
|
sprintf(buffer, "K_POSNxx");
|
||||||
for (i = 0; i < NUMPOSNUMS; i++)
|
for (i = 0; i < NUMPOSNUMS; i++)
|
||||||
{
|
{
|
||||||
|
buffer[6] = '0'+i;
|
||||||
for (j = 0; j < NUMPOSFRAMES; j++)
|
for (j = 0; j < NUMPOSFRAMES; j++)
|
||||||
{
|
{
|
||||||
//if (i > 4 && j < 4 && j != 0) continue; // We don't need blue numbers for ranks past 4th
|
//if (i > 4 && j < 4 && j != 0) continue; // We don't need blue numbers for ranks past 4th
|
||||||
sprintf(buffer, "K_POSN%d%d", i, j);
|
//sprintf(buffer, "K_POSN%d%d", i, j);
|
||||||
|
buffer[7] = '0'+j;
|
||||||
kp_positionnum[i][j] = (patch_t *) W_CachePatchName(buffer, PU_HUDGFX);
|
kp_positionnum[i][j] = (patch_t *) W_CachePatchName(buffer, PU_HUDGFX);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue