- option menu positioning fix.

This commit is contained in:
Christoph Oelckers 2020-10-25 17:11:45 +01:00
parent 7dda316391
commit 5abc5c0509
2 changed files with 2 additions and 1 deletions

View file

@ -725,6 +725,8 @@ xx(Loadgamemenu)
xx(Savegamemenu) xx(Savegamemenu)
xx(Readthismenu) xx(Readthismenu)
xx(Optionsmenu) xx(Optionsmenu)
xx(OptionsmenuSimple)
xx(OptionsmenuFull)
xx(Quitmenu) xx(Quitmenu)
xx(Savemenu) xx(Savemenu)
xx(Playermenu) xx(Playermenu)

View file

@ -241,7 +241,6 @@ class OptionMenu : Menu
{ {
y = DrawCaption(mDesc.mTitle, -y, false); y = DrawCaption(mDesc.mTitle, -y, false);
} }
y *= CleanYfac_1;
int rowheight = OptionMenuSettings.mLinespacing * CleanYfac_1; int rowheight = OptionMenuSettings.mLinespacing * CleanYfac_1;
int maxitems = (screen.GetHeight() - rowheight - y) / rowheight + 1; int maxitems = (screen.GetHeight() - rowheight - y) / rowheight + 1;