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: