Skip to content

Commit

Permalink
Improve mouseover for save slots in save/load game menus
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Aug 31, 2023
1 parent b6869a0 commit 3746ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ static void M_DrawLoad(void)
currentmenu->menuitems[i].x = LoadDef.x - 11 + MAXWIDESCREENDELTA;
currentmenu->menuitems[i].y = y - 4;
currentmenu->menuitems[i].width = 209;
currentmenu->menuitems[i].height = SHORT(((patch_t *)W_CacheLumpName("M_LSLEFT"))->height);
currentmenu->menuitems[i].height = SHORT(((patch_t *)W_CacheLumpName("M_LSLEFT"))->height) + 1;

while (M_StringWidth(savegamestrings[i]) > SAVESTRINGPIXELWIDTH)
{
Expand Down Expand Up @@ -1111,7 +1111,7 @@ static void M_DrawSave(void)
currentmenu->menuitems[i].x = LoadDef.x - 11 + MAXWIDESCREENDELTA;
currentmenu->menuitems[i].y = y - 4;
currentmenu->menuitems[i].width = 209;
currentmenu->menuitems[i].height = SHORT(((patch_t *)W_CacheLumpName("M_LSLEFT"))->height);
currentmenu->menuitems[i].height = SHORT(((patch_t *)W_CacheLumpName("M_LSLEFT"))->height) + 1;

while (M_StringWidth(savegamestrings[i]) > SAVESTRINGPIXELWIDTH)
{
Expand Down

0 comments on commit 3746ba2

Please sign in to comment.