Merge pull request #283 from alliedmodders/fix/newmenu-propnocolor
Fix MPROP_NOCOLORS menu property not working
This commit is contained in:
commit
a9015d1d84
|
@ -1018,7 +1018,7 @@ static cell AMX_NATIVE_CALL menu_setprop(AMX *amx, cell *params)
|
|||
}
|
||||
case MPROP_NOCOLORS:
|
||||
{
|
||||
pMenu->m_AutoColors = *get_amxaddr(amx, params[3]) ? true : false;
|
||||
pMenu->m_AutoColors = *get_amxaddr(amx, params[3]) ? false : true;
|
||||
break;
|
||||
}
|
||||
case MPROP_PADMENU:
|
||||
|
|
Loading…
Reference in New Issue
Block a user