Custom submenus are no longer removed from altered protected menu

https://forum.zdoom.org/viewtopic.php?t=59081
This commit is contained in:
alexey.lysiuk 2018-01-12 10:51:14 +02:00
parent ee9736fbb3
commit 337bbfc88c

View file

@ -542,7 +542,7 @@ static bool FindMatchingItem(DMenuItemBase *desc)
{
// Check for presence of menu
auto menu = MenuDescriptors.CheckKey(name);
if (menu == nullptr) return true;
if (menu == nullptr) return false;
}
else if (grp == 4)
{