mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
Fixed selection of empty items in Video Mode menu
See http://forum.zdoom.org/viewtopic.php?t=49794
This commit is contained in:
parent
117783a785
commit
3e517ad4d0
1 changed files with 8 additions and 0 deletions
|
@ -942,6 +942,14 @@ public:
|
|||
{
|
||||
return mMaxValid >= 0;
|
||||
}
|
||||
|
||||
void Ticker()
|
||||
{
|
||||
if (Selectable() && mSelection > mMaxValid)
|
||||
{
|
||||
mSelection = mMaxValid;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue