Fix MPROP_SHOWPAGE option not working as expected (#726)
Typo from #473.
This commit is contained in:
commit
024003d6f0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user