From f4fefd0bb42ed77e650c1042bcf68dad58f8ec56 Mon Sep 17 00:00:00 2001 From: shel <9306996+afwn90cj93201nixr2e1re@users.noreply.github.com> Date: Fri, 17 Jul 2020 03:40:31 +0400 Subject: [PATCH] Fix uninitialized member unexpected results (#896) Co-authored-by: shel <2@shelru.ru> --- amxmodx/newmenus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/newmenus.cpp b/amxmodx/newmenus.cpp index 99243de6..6f2e0c24 100755 --- a/amxmodx/newmenus.cpp +++ b/amxmodx/newmenus.cpp @@ -92,7 +92,7 @@ bool CloseNewMenus(CPlayer *pPlayer) } Menu::Menu(const char *title, AMX *amx, int fid, bool use_ml) : m_Title(title), m_ItemColor("\\r"), -m_NeverExit(false), m_AutoColors(g_coloredmenus), thisId(0), func(fid), +m_NeverExit(false), m_ForceExit(false), m_AutoColors(g_coloredmenus), thisId(0), func(fid), isDestroying(false), pageCallback(-1), showPageNumber(true), useMultilingual(use_ml), amx(amx), items_per_page(7) { CPluginMngr::CPlugin *pPlugin = g_plugins.findPluginFast(amx);