mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 05:38:04 +03:00
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…
x
Reference in New Issue
Block a user