Fix MPROP_NOCOLORS menu property not working
This commit is contained in:
parent
20201290e3
commit
83a72a6e3a
|
@ -1018,7 +1018,7 @@ static cell AMX_NATIVE_CALL menu_setprop(AMX *amx, cell *params)
|
||||||
}
|
}
|
||||||
case MPROP_NOCOLORS:
|
case MPROP_NOCOLORS:
|
||||||
{
|
{
|
||||||
pMenu->m_AutoColors = *get_amxaddr(amx, params[3]) ? true : false;
|
pMenu->m_AutoColors = *get_amxaddr(amx, params[3]) ? false : true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MPROP_PADMENU:
|
case MPROP_PADMENU:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user