Fix MPROP_NOCOLORS menu property not working

This commit is contained in:
Vincent Herbet 2015-08-13 12:04:31 +02:00
parent 20201290e3
commit 83a72a6e3a

View File

@ -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: