diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs index 50df16e..6317e43 100644 --- a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs +++ b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs | |||
@@ -107,7 +107,7 @@ namespace OpenSim.Region.Scenes | |||
107 | { | 107 | { |
108 | if(this.scriptEngines.ContainsKey(scriptType)) | 108 | if(this.scriptEngines.ContainsKey(scriptType)) |
109 | { | 109 | { |
110 | this.scriptEngines[scriptType].LoadScript(script, scriptName, ent.localid); | 110 | this.scriptEngines[scriptType].LoadScript(script, scriptName, ent.LocalId); |
111 | } | 111 | } |
112 | } | 112 | } |
113 | 113 | ||
@@ -124,7 +124,7 @@ namespace OpenSim.Region.Scenes | |||
124 | // Console.WriteLine("script- getting entity " + localID + " position"); | 124 | // Console.WriteLine("script- getting entity " + localID + " position"); |
125 | foreach (Entity entity in this.Entities.Values) | 125 | foreach (Entity entity in this.Entities.Values) |
126 | { | 126 | { |
127 | if (entity.localid == localID) | 127 | if (entity.LocalId == localID) |
128 | { | 128 | { |
129 | res.X = entity.Pos.X; | 129 | res.X = entity.Pos.X; |
130 | res.Y = entity.Pos.Y; | 130 | res.Y = entity.Pos.Y; |
@@ -145,7 +145,7 @@ namespace OpenSim.Region.Scenes | |||
145 | { | 145 | { |
146 | foreach (Entity entity in this.Entities.Values) | 146 | foreach (Entity entity in this.Entities.Values) |
147 | { | 147 | { |
148 | if (entity.localid == localID && entity is Primitive) | 148 | if (entity.LocalId == localID && entity is Primitive) |
149 | { | 149 | { |
150 | LLVector3 pos = entity.Pos; | 150 | LLVector3 pos = entity.Pos; |
151 | pos.X = x; | 151 | pos.X = x; |
@@ -171,7 +171,7 @@ namespace OpenSim.Region.Scenes | |||
171 | { | 171 | { |
172 | if (entity is Avatar) | 172 | if (entity is Avatar) |
173 | { | 173 | { |
174 | res = entity.localid; | 174 | res = entity.LocalId; |
175 | } | 175 | } |
176 | } | 176 | } |
177 | return res; | 177 | return res; |