mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
fix EOL in k_kart.c
This commit is contained in:
parent
0bf3834174
commit
b9abd8b9bc
1 changed files with 15 additions and 15 deletions
30
src/k_kart.c
30
src/k_kart.c
|
@ -6397,9 +6397,9 @@ INT32 K_calcSplitFlags(INT32 snapflags)
|
||||||
splitflags |= V_SPLITSCREEN;
|
splitflags |= V_SPLITSCREEN;
|
||||||
}
|
}
|
||||||
else if (splitscreen > 1)
|
else if (splitscreen > 1)
|
||||||
{
|
{
|
||||||
if (stplyr == &players[thirddisplayplayer] || (splitscreen == 3 && stplyr == &players[fourthdisplayplayer]))
|
if (stplyr == &players[thirddisplayplayer] || (splitscreen == 3 && stplyr == &players[fourthdisplayplayer]))
|
||||||
splitflags |= V_SPLITSCREEN;
|
splitflags |= V_SPLITSCREEN;
|
||||||
if (stplyr == &players[secondarydisplayplayer] || (splitscreen == 3 && stplyr == &players[fourthdisplayplayer]))
|
if (stplyr == &players[secondarydisplayplayer] || (splitscreen == 3 && stplyr == &players[fourthdisplayplayer]))
|
||||||
splitflags |= V_HORZSCREEN;
|
splitflags |= V_HORZSCREEN;
|
||||||
}
|
}
|
||||||
|
@ -8468,16 +8468,16 @@ void K_drawKartHUD(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stplyr->spectator) // Bottom of the screen elements, don't need in spectate mode
|
if (!stplyr->spectator) // Bottom of the screen elements, don't need in spectate mode
|
||||||
{
|
{
|
||||||
if (titledemo) // Draw title logo instead in titledemos
|
if (titledemo) // Draw title logo instead in titledemos
|
||||||
{
|
{
|
||||||
INT32 x = BASEVIDWIDTH - 32, y = 128, offs;
|
INT32 x = BASEVIDWIDTH - 32, y = 128, offs;
|
||||||
|
|
||||||
if (splitscreen == 3)
|
if (splitscreen == 3)
|
||||||
{
|
{
|
||||||
x = BASEVIDWIDTH/2 + 10;
|
x = BASEVIDWIDTH/2 + 10;
|
||||||
y = BASEVIDHEIGHT/2 - 30;
|
y = BASEVIDHEIGHT/2 - 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (timeinmap < 113)
|
if (timeinmap < 113)
|
||||||
{
|
{
|
||||||
|
@ -8487,10 +8487,10 @@ void K_drawKartHUD(void)
|
||||||
offs >>= 1;
|
offs >>= 1;
|
||||||
x += offs;
|
x += offs;
|
||||||
}
|
}
|
||||||
|
|
||||||
V_DrawTinyScaledPatch(x-54, y, 0, W_CachePatchName("TTKBANNR", PU_CACHE));
|
V_DrawTinyScaledPatch(x-54, y, 0, W_CachePatchName("TTKBANNR", PU_CACHE));
|
||||||
V_DrawTinyScaledPatch(x-54, y+25, 0, W_CachePatchName("TTKART", PU_CACHE));
|
V_DrawTinyScaledPatch(x-54, y+25, 0, W_CachePatchName("TTKART", PU_CACHE));
|
||||||
}
|
}
|
||||||
else if (G_RaceGametype()) // Race-only elements
|
else if (G_RaceGametype()) // Race-only elements
|
||||||
{
|
{
|
||||||
// Draw the lap counter
|
// Draw the lap counter
|
||||||
|
|
Loading…
Reference in a new issue