mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +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;
|
moveTimer = (int)totalclock;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (curYPos == destYPos)
|
if (curYPos == destYPos)
|
||||||
{
|
{
|
||||||
if (I_MenuUp())
|
if (inputState.GetKeyStatus[sc_UpArrow])
|
||||||
{
|
{
|
||||||
I_MenuUpClear();
|
inputState.ClearKeyStatus(sc_UpArrow);
|
||||||
|
|
||||||
if (nLevelNew <= nLevelBest)
|
if (nLevelNew <= nLevelBest)
|
||||||
{
|
{
|
||||||
|
@ -776,9 +775,9 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (I_MenuDown())
|
if (inputState.GetKeyStatus[sc_DownArrow])
|
||||||
{
|
{
|
||||||
I_MenuDownClear();
|
inputState.ClearKeyStatus(sc_DownArrow);
|
||||||
|
|
||||||
if (nLevelNew > 0)
|
if (nLevelNew > 0)
|
||||||
{
|
{
|
||||||
|
@ -833,7 +832,6 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
|
||||||
|
|
||||||
nIdleSeconds = 0;
|
nIdleSeconds = 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MySetView(nViewLeft, nViewTop, nViewRight, nViewBottom);
|
MySetView(nViewLeft, nViewTop, nViewRight, nViewBottom);
|
||||||
|
|
Loading…
Reference in a new issue