mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 17:21:24 +00:00
- Fixed: The player setup menu still drew the cursor at the original Y positions.
SVN r2098 (trunk)
This commit is contained in:
parent
4b64df6778
commit
1aae2895f4
1 changed files with 3 additions and 2 deletions
|
@ -235,6 +235,7 @@ static int saveSlot; // which slot to save in
|
||||||
static size_t saveCharIndex; // which char we're editing
|
static size_t saveCharIndex; // which char we're editing
|
||||||
|
|
||||||
static int LINEHEIGHT;
|
static int LINEHEIGHT;
|
||||||
|
static const int PLAYERSETUP_LINEHEIGHT = 16;
|
||||||
|
|
||||||
static char savegamestring[SAVESTRINGSIZE];
|
static char savegamestring[SAVESTRINGSIZE];
|
||||||
static FString EndString;
|
static FString EndString;
|
||||||
|
@ -2142,7 +2143,7 @@ static void M_DrawPlayerSlider (int x, int y, int cur)
|
||||||
|
|
||||||
static void M_PlayerSetupDrawer ()
|
static void M_PlayerSetupDrawer ()
|
||||||
{
|
{
|
||||||
const int LINEHEIGHT = 16;
|
const int LINEHEIGHT = PLAYERSETUP_LINEHEIGHT;
|
||||||
int x, xo, yo;
|
int x, xo, yo;
|
||||||
EColorRange label, value;
|
EColorRange label, value;
|
||||||
DWORD color;
|
DWORD color;
|
||||||
|
@ -3543,7 +3544,7 @@ void M_Drawer ()
|
||||||
if (skullAnimCounter < 6)
|
if (skullAnimCounter < 6)
|
||||||
{
|
{
|
||||||
screen->DrawText (ConFont, CR_RED, x - 16,
|
screen->DrawText (ConFont, CR_RED, x - 16,
|
||||||
currentMenu->y + itemOn*LINEHEIGHT +
|
currentMenu->y + itemOn*PLAYERSETUP_LINEHEIGHT +
|
||||||
(!(gameinfo.gametype & (GAME_DoomStrifeChex)) ? 6 : -1), "\xd",
|
(!(gameinfo.gametype & (GAME_DoomStrifeChex)) ? 6 : -1), "\xd",
|
||||||
DTA_Clean, true, TAG_DONE);
|
DTA_Clean, true, TAG_DONE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue