Fixed amb208: new menu state not being reset when item has no state callback.
This commit is contained in:
parent
ab6fea5767
commit
1f423dc39f
@ -347,6 +347,8 @@ const char *Menu::GetTextString(int player, page_t page, int &keys)
|
||||
|
||||
for (item_t i = start; i <= end; i++)
|
||||
{
|
||||
// reset enabled
|
||||
enabled = true;
|
||||
pItem = m_Items[i];
|
||||
|
||||
if (pItem->access && !(pItem->access & g_players[player].flags[0]))
|
||||
|
Loading…
Reference in New Issue
Block a user