Snap title demo logo to bottom right corner

This commit is contained in:
indev authored and Alug committed 2024-09-10 10:13:57 +02:00
1 parent 3b080f4563
commit 00a4c30979
1 file changed
+3 -2
+3 -2
View File
@@ -10862,6 +10862,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)
{
@@ -10880,8 +10881,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
{