Skip to content

Commit

Permalink
Fix MPROP_SHOWPAGE option not working as expected
Browse files Browse the repository at this point in the history
Typo from #473.
  • Loading branch information
Arkshine committed Jun 19, 2019
1 parent 1f09bd5 commit 4ef0a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amxmodx/newmenus.cpp
Expand Up @@ -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:
Expand Down

0 comments on commit 4ef0a78

Please sign in to comment.