mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
- fixed input on the map.
This commit is contained in:
parent
cbfb79977a
commit
0885befe6b
1 changed files with 5 additions and 7 deletions
|
@ -751,12 +751,11 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
|
|||
moveTimer = (int)totalclock;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (curYPos == destYPos)
|
||||
{
|
||||
if (I_MenuUp())
|
||||
if (inputState.GetKeyStatus[sc_UpArrow])
|
||||
{
|
||||
I_MenuUpClear();
|
||||
inputState.ClearKeyStatus(sc_UpArrow);
|
||||
|
||||
if (nLevelNew <= nLevelBest)
|
||||
{
|
||||
|
@ -776,9 +775,9 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
|
|||
}
|
||||
}
|
||||
|
||||
if (I_MenuDown())
|
||||
{
|
||||
I_MenuDownClear();
|
||||
if (inputState.GetKeyStatus[sc_DownArrow])
|
||||
{
|
||||
inputState.ClearKeyStatus(sc_DownArrow);
|
||||
|
||||
if (nLevelNew > 0)
|
||||
{
|
||||
|
@ -833,7 +832,6 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
|
|||
|
||||
nIdleSeconds = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
MySetView(nViewLeft, nViewTop, nViewRight, nViewBottom);
|
||||
|
|
Loading…
Reference in a new issue