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:
toaster 2018-09-23 13:34:49 +01:00
parent c5e16f183e
commit fa65cbb43e

View file

@ -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, (flags & V_TRANSLUCENT), addonsp[((UINT8)(dirmenu[i][DIR_TYPE]) & ~EXT_LOADED)]); V_DrawSmallScaledPatch(x-(16+4), y, V_TRANSLUCENT, addonsp[(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])
{ {