From 1aae2895f4cb5c9445e9a5b6d030aa6d4c66b7e2 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 5 Jan 2010 02:56:27 +0000 Subject: [PATCH] - Fixed: The player setup menu still drew the cursor at the original Y positions. SVN r2098 (trunk) --- src/m_menu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/m_menu.cpp b/src/m_menu.cpp index 1d1cc6601..e817bebbc 100644 --- a/src/m_menu.cpp +++ b/src/m_menu.cpp @@ -235,6 +235,7 @@ static int saveSlot; // which slot to save in static size_t saveCharIndex; // which char we're editing static int LINEHEIGHT; +static const int PLAYERSETUP_LINEHEIGHT = 16; static char savegamestring[SAVESTRINGSIZE]; static FString EndString; @@ -2142,7 +2143,7 @@ static void M_DrawPlayerSlider (int x, int y, int cur) static void M_PlayerSetupDrawer () { - const int LINEHEIGHT = 16; + const int LINEHEIGHT = PLAYERSETUP_LINEHEIGHT; int x, xo, yo; EColorRange label, value; DWORD color; @@ -3543,7 +3544,7 @@ void M_Drawer () if (skullAnimCounter < 6) { screen->DrawText (ConFont, CR_RED, x - 16, - currentMenu->y + itemOn*LINEHEIGHT + + currentMenu->y + itemOn*PLAYERSETUP_LINEHEIGHT + (!(gameinfo.gametype & (GAME_DoomStrifeChex)) ? 6 : -1), "\xd", DTA_Clean, true, TAG_DONE); }