mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 09:12:22 +00:00
Fix on-screen alignment of Duel Intermission boxes
- Now more consistent between time/score and rankings mode - Symmetrical if you flipped the screen, no slight rightward bias in placement
This commit is contained in:
parent
8553581d80
commit
2b4cd831e1
1 changed files with 2 additions and 5 deletions
|
|
@ -539,11 +539,8 @@ void Y_PlayerStandingsDrawer(y_data_t *standings, INT32 xoffset)
|
|||
|
||||
if (standings->isduel)
|
||||
{
|
||||
INT32 duelx = x + 25 - inwardshim/2, duely = y - 80;
|
||||
if (datarightofcolumn)
|
||||
duelx += inwardshim/2;
|
||||
else
|
||||
duelx -= inwardshim/2;
|
||||
INT32 duelx = x + 22 + (datarightofcolumn ? inwardshim : -inwardshim);
|
||||
INT32 duely = y - 80;
|
||||
|
||||
V_DrawScaledPatch(duelx, duely, 0, W_CachePatchName("DUELGRPH", PU_CACHE));
|
||||
V_DrawScaledPatch(duelx + 8, duely + 9, V_TRANSLUCENT, W_CachePatchName("PREVBACK", PU_CACHE));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue