diff --git a/amxmodx/newmenus.cpp b/amxmodx/newmenus.cpp index b4236c62..6d6e225c 100755 --- a/amxmodx/newmenus.cpp +++ b/amxmodx/newmenus.cpp @@ -1043,7 +1043,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: