More OpenSim compilation fixes.

This commit is contained in:
Sei Lisa 2017-11-02 20:09:45 +01:00 committed by Sei-Lisa
parent 08263c921e
commit dea6153fec
2 changed files with 2 additions and 2 deletions

View file

@ -553,7 +553,7 @@ default
if (llList2Vector(llGetObjectDetails(id, [OBJECT_POS]), 0) != ZERO_VECTOR)
{
list details = [OBJECT_POS, OBJECT_ROT];
rotation f = llList2Rot(details = llGetObjectDetails(llGetKey(), details) + llGetObjectDetails(id, details), 1);
rotation f = llList2Rot((details = llGetObjectDetails(llGetKey(), details) + llGetObjectDetails(id, details)), 1);
vector target_rot = llRot2Euler(llList2Rot(details, 3) / f) * RAD_TO_DEG;
vector target_pos = (llList2Vector(details, 2) - llList2Vector(details, 0)) / f;
prop_positions = llListReplaceList(prop_positions, [target_pos], index, index);

View file

@ -86,7 +86,7 @@ default {
state permission {
state_entry(){
llSetTimerEvent(120);
llListen(menu_channel=((integer)llFrand(0x7FFFFF80)+1)*-1,"","","");
llListen((menu_channel=((integer)llFrand(0x7FFFFF80)+1)*-1),"","","");
llDialog(llGetOwner(),product+" "+version+"\n\n"+disclaimer,["OK"],menu_channel);//RLV
}