Add support for WARN 3 to completely disable warnings

This commit is contained in:
Sei Lisa 2018-03-21 01:09:09 +01:00 committed by Sei-Lisa
parent 9936f50cc5
commit aea700fc3f

View file

@ -139,10 +139,12 @@ rez_prop(integer index)
}
integer perms = llGetInventoryPermMask(object, MASK_NEXT);
string next = " for NEXT owner";
if (WARN == 2)
if (WARN > 1)
{
next = "";
perms = llGetInventoryPermMask(object, MASK_OWNER);
perms = -1;
if (WARN == 2)
perms = llGetInventoryPermMask(object, MASK_OWNER);
}
if (type == 0 || type == 3)
{