- fixed: An option value with an invalid value type would eat all key events when being selected.

This commit is contained in:
Christoph Oelckers 2016-03-03 10:52:56 +01:00
parent 4d2b9fbe1b
commit 74c326e9b2

View file

@ -230,6 +230,10 @@ public:
SetSelection(Selection);
S_Sound (CHAN_VOICE | CHAN_UI, "menu/change", snd_menuvolume, ATTN_NONE);
}
else
{
return FOptionMenuItem::MenuEvent(mkey, fromcontroller);
}
return true;
}