Fixed amb208: new menu state not being reset when item has no state callback.

This commit is contained in:
Steve Dudenhoeffer 2007-04-13 23:57:14 +00:00
parent ab6fea5767
commit 1f423dc39f

View File

@ -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]))