Snap title demo logo to bottom right corner

This commit is contained in:
indev committed 2024-09-09 23:56:53 +03:00
1 parent 677cdc77e4
commit dd405532af
1 file changed
+3 -2
+3 -2
View File
@@ -10620,6 +10620,7 @@ void K_drawKartHUD(void)
if (demo.title) // Draw title logo instead in demo.titles
{
INT32 x = (BASEVIDWIDTH - 32)*FRACUNIT, y = 128*FRACUNIT, offs;
INT32 logoflags = V_SNAPTORIGHT|V_SNAPTOBOTTOM;
if (splitscreen == 3)
{
@@ -10638,8 +10639,8 @@ void K_drawKartHUD(void)
x += offs - frac;
}
V_DrawSciencePatch(x - (54*FRACUNIT), y, 0, W_CachePatchName("TTKBANNR", PU_CACHE), FRACUNIT/4);
V_DrawSciencePatch(x - (54*FRACUNIT), y + (25*FRACUNIT), 0, W_CachePatchName("TTKART", PU_CACHE), FRACUNIT/4);
V_DrawSciencePatch(x - (54*FRACUNIT), y, logoflags, W_CachePatchName("TTKBANNR", PU_CACHE), FRACUNIT/4);
V_DrawSciencePatch(x - (54*FRACUNIT), y + (25*FRACUNIT), logoflags, W_CachePatchName("TTKART", PU_CACHE), FRACUNIT/4);
}
else if (G_RaceGametype()) // Race-only elements
{