Skip to content
Permalink
Browse files

Fix MPROP_SHOWPAGE option not working as expected (#726)

Typo from #473.
  • Loading branch information...
Arkshine committed Jun 19, 2019
2 parents abba8f1 + 096dae9 commit 024003d6f0a028d8263189bae2840f042697e5da
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit 024003d

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