From 1f423dc39f97ce1acb38fbf7812dbe7a98920d86 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 13 Apr 2007 23:57:14 +0000 Subject: [PATCH] Fixed amb208: new menu state not being reset when item has no state callback. --- amxmodx/newmenus.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amxmodx/newmenus.cpp b/amxmodx/newmenus.cpp index bd77cdfa..30b51a4e 100755 --- a/amxmodx/newmenus.cpp +++ b/amxmodx/newmenus.cpp @@ -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]))