Skip to content
Permalink
Browse files

Fix MPROP_SHOWPAGE option not working as expected

Typo from #473.
  • Loading branch information...
Arkshine committed May 29, 2019
1 parent 1f09bd5 commit 4ef0a78abd8a1c0cc532953873e30ed6c07658d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit 4ef0a78

Please sign in to comment.
You can’t perform that action at this time.