From 1aa00f1b0eb574f8174e4821c3aa9f0a5ec08746 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 26 Dec 2014 19:22:09 -0600 Subject: [PATCH] Draw player setup cursor equivalently to options menu cursors - Explicitly size and position the text cursor in FListMenuItem::DrawSelector() the same way that the options menu does it using M_DrawConText(): By sizing it to a scaled 8x8 cell. --- src/menu/listmenu.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/menu/listmenu.cpp b/src/menu/listmenu.cpp index 53b4fee22..402c1d5e9 100644 --- a/src/menu/listmenu.cpp +++ b/src/menu/listmenu.cpp @@ -300,7 +300,12 @@ void FListMenuItem::DrawSelector(int xofs, int yofs, FTextureID tex) if ((DMenu::MenuTime%8) < 6) { screen->DrawText(ConFont, OptionSettings.mFontColorSelection, - mXpos + xofs, mYpos + yofs, "\xd", DTA_Clean, true, TAG_DONE); + (mXpos + xofs - 160) * CleanXfac + screen->GetWidth() / 2, + (mYpos + yofs - 100) * CleanYfac + screen->GetHeight() / 2, + "\xd", + DTA_CellX, 8 * CleanXfac, + DTA_CellY, 8 * CleanYfac, + TAG_DONE); } } else