From 4ef0a78abd8a1c0cc532953873e30ed6c07658d5 Mon Sep 17 00:00:00 2001 From: Vincent Herbet Date: Wed, 29 May 2019 11:47:57 +0200 Subject: [PATCH] Fix MPROP_SHOWPAGE option not working as expected Typo from #473. --- amxmodx/newmenus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/newmenus.cpp b/amxmodx/newmenus.cpp index e517ef6e..3875e73b 100755 --- a/amxmodx/newmenus.cpp +++ b/amxmodx/newmenus.cpp @@ -1008,7 +1008,7 @@ static cell AMX_NATIVE_CALL menu_setprop(AMX *amx, cell *params) } case MPROP_SHOWPAGE: { - pMenu->showPageNumber = (get_amxaddr(amx, params[3]) != 0); + pMenu->showPageNumber = *get_amxaddr(amx, params[3]) != 0; break; } case MPROP_SET_NUMBER_COLOR: