2
0
mirror of https://github.com/alliedmodders/amxmodx.git synced 2025-07-12 00:06:27 +03:00

Fix MPROP_SHOWPAGE option not working as expected

Typo from .
This commit is contained in:
Vincent Herbet 2019-05-29 11:47:57 +02:00 committed by Arkshine
parent 1f09bd53f6
commit 4ef0a78abd

@ -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: