mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Now that the background and border colour is the same, only draw unselected border when a tile is being drawn.
This commit is contained in:
parent
ae43e3a6ce
commit
7f45ae4212
1 changed files with 10 additions and 7 deletions
|
|
@ -4569,13 +4569,16 @@ static void M_DrawChallengeTile(INT16 i, INT16 j, INT32 x, INT32 y, boolean hili
|
||||||
drawborder:
|
drawborder:
|
||||||
if (!hili)
|
if (!hili)
|
||||||
{
|
{
|
||||||
work = 16 * ((ref && ref->majorunlock) ? 2 : 1);
|
if (ref != NULL)
|
||||||
// Horizontal
|
{
|
||||||
V_DrawFill(x, y , work, 1, challengesbordercolor);
|
work = 16 * (ref->majorunlock ? 2 : 1);
|
||||||
V_DrawFill(x, y + work-1, work, 1, challengesbordercolor);
|
// Horizontal
|
||||||
// Vertical
|
V_DrawFill(x, y , work, 1, challengesbordercolor);
|
||||||
V_DrawFill(x , y+1, 1, work-2, challengesbordercolor);
|
V_DrawFill(x, y + work-1, work, 1, challengesbordercolor);
|
||||||
V_DrawFill(x + work-1, y+1, 1, work-2, challengesbordercolor);
|
// Vertical
|
||||||
|
V_DrawFill(x , y+1, 1, work-2, challengesbordercolor);
|
||||||
|
V_DrawFill(x + work-1, y+1, 1, work-2, challengesbordercolor);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue