From d55542aa8da2f5e1b5c9617249c7fa7b72ba6c02 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 11 Jun 2006 22:04:10 +0000 Subject: [PATCH] fourth time's a charm --- amxmodx/newmenus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/newmenus.cpp b/amxmodx/newmenus.cpp index 6faf1dbf..73837884 100755 --- a/amxmodx/newmenus.cpp +++ b/amxmodx/newmenus.cpp @@ -151,7 +151,7 @@ int Menu::PagekeyToItem(page_t page, item_t key) if (num_pages == 1 || !items_per_page) { - if (m_AlwaysExit && key > m_Items.size()) + if (key > m_Items.size()) return MENU_EXIT; else return key-1;