Merge pull request #283 from alliedmodders/fix/newmenu-propnocolor

Fix MPROP_NOCOLORS menu property not working
This commit is contained in:
Vincent Herbet 2015-08-13 12:19:12 +02:00
commit a9015d1d84

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: