Implement images

This commit is contained in:
TehRealSalt 2019-10-27 15:50:22 -04:00
parent d306df81c8
commit a7dac9d04b
2 changed files with 2 additions and 2 deletions

View file

@ -157,7 +157,7 @@ menu_t PLAY_TimeAttackDef = {
menuitem_t PLAY_BattleGamemodesMenu[] =
{
{IT_STRING | IT_CALL, "Survival", "It's last hedgehog standing in this free-for-all!",
NULL, M_LevelSelectInit, 0, GT_MATCH},
"MENIMG00", M_LevelSelectInit, 0, GT_MATCH},
{IT_STRING | IT_CALL, "Time Attack", "Bust up all of the capsules in record time!",
NULL, M_LevelSelectInit, 1, GT_MATCH},

View file

@ -175,7 +175,7 @@ static void M_DrawMenuPreviews(void)
{
V_DrawFixedPatch(172<<FRACBITS, 29<<FRACBITS, FRACUNIT, 0, W_CachePatchName("MENUPREV", PU_CACHE), NULL);
if (currentMenu->menuitems[itemOn].patch != NULL)
V_DrawFixedPatch(0, 0, FRACUNIT, 0, W_CachePatchName(currentMenu->menuitems[itemOn].patch, PU_CACHE), NULL);
V_DrawFixedPatch(181<<FRACBITS, 39<<FRACBITS, FRACUNIT, 0, W_CachePatchName(currentMenu->menuitems[itemOn].patch, PU_CACHE), NULL);
}
// Converts a string into question marks.