mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
Merge pull request #421 from alexey-lysiuk/video_mode_menu
Fixed selection of empty items in Video Mode menu
This commit is contained in:
commit
f36bdc474d
1 changed files with 8 additions and 0 deletions
|
@ -945,6 +945,14 @@ public:
|
||||||
{
|
{
|
||||||
return mMaxValid >= 0;
|
return mMaxValid >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Ticker()
|
||||||
|
{
|
||||||
|
if (Selectable() && mSelection > mMaxValid)
|
||||||
|
{
|
||||||
|
mSelection = mMaxValid;
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue