Menus/Item Toggles: strike through disabled items

This commit is contained in:
James R 2023-12-31 04:39:08 -08:00
parent f1c2f3d309
commit 5e29486886

View file

@ -5127,6 +5127,9 @@ void M_DrawItemToggles(void)
DrawMappedString(x+24, y+31, V_MODULATE, HU_FONT, va("x%d", drawnum), black);
}
if (!cv->value)
V_DrawScaledPatch(x, y, 0, W_CachePatchName("K_ISSTRK", PU_CACHE));
y += spacing;
}
@ -5185,6 +5188,11 @@ void M_DrawItemToggles(void)
DrawMappedString(onx+37, ony+34, V_MODULATE, TIMER_FONT, va("%d", drawnum), black);
}
}
if (!cv->value)
{
V_DrawScaledPatch(onx-1, ony-2, 0, W_CachePatchName("K_ITSTRK", PU_CACHE));
}
}
}
}