mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-07 00:41:13 +00:00
Somehow butchered the code cleanliness (indentation/not taking advantage of a macro I defined specifically for this) here a little by accident - tidied up.
This commit is contained in:
parent
c5e16f183e
commit
fa65cbb43e
1 changed files with 6 additions and 5 deletions
|
@ -4622,12 +4622,13 @@ static void M_DrawAddons(void)
|
||||||
#define type (UINT8)(dirmenu[i][DIR_TYPE])
|
#define type (UINT8)(dirmenu[i][DIR_TYPE])
|
||||||
{
|
{
|
||||||
if (type & EXT_LOADED)
|
if (type & EXT_LOADED)
|
||||||
|
{
|
||||||
flags |= V_TRANSLUCENT;
|
flags |= V_TRANSLUCENT;
|
||||||
|
V_DrawSmallScaledPatch(x-(16+4), y, V_TRANSLUCENT, addonsp[(type & ~EXT_LOADED)]);
|
||||||
V_DrawSmallScaledPatch(x-(16+4), y, (flags & V_TRANSLUCENT), addonsp[((UINT8)(dirmenu[i][DIR_TYPE]) & ~EXT_LOADED)]);
|
|
||||||
|
|
||||||
if (type & EXT_LOADED)
|
|
||||||
V_DrawSmallScaledPatch(x-(16+4), y, 0, addonsp[NUM_EXT+2]);
|
V_DrawSmallScaledPatch(x-(16+4), y, 0, addonsp[NUM_EXT+2]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
V_DrawSmallScaledPatch(x-(16+4), y, 0, addonsp[(type & ~EXT_LOADED)]);
|
||||||
|
|
||||||
if ((size_t)i == dir_on[menudepthleft])
|
if ((size_t)i == dir_on[menudepthleft])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue