Remove or add parentheses as necessary to improve clarity.

There should be no changes in the code compiled from source directly.
This commit is contained in:
Sei Lisa 2017-08-14 20:01:47 +02:00 committed by Sei-Lisa
parent 2488349a1b
commit 202b4503d1
12 changed files with 59 additions and 59 deletions

View file

@ -132,7 +132,7 @@ state prop
touch_start(integer touched)
{
if ((!llGetAttached()) && (prop_type == 2 || prop_type == 1))
if (!llGetAttached() && (prop_type == 2 || prop_type == 1))
{
llRequestExperiencePermissions(llDetectedKey(0), "");
}
@ -212,7 +212,7 @@ state prop
{
remove = TRUE;
}
else if (command == "REM_INDEX" || (command == "REM_WORLD" && (!llGetAttached())))
else if (command == "REM_INDEX" || (command == "REM_WORLD" && !llGetAttached()))
{
if (~llListFindList(data, [(string)prop_id]))
{
@ -241,7 +241,7 @@ state prop
}
}
}
else if (message == "PROPSEARCH" && (!llGetAttached()))
else if (message == "PROPSEARCH" && !llGetAttached())
{
llSay(comm_channel, "SAVEPROP|" + (string)prop_id);
}