aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-12-04 08:18:09 +0000
committerAdam Frisby2007-12-04 08:18:09 +0000
commitbe7ae3dd3ecddc46390f40c0315ff84703c32e7a (patch)
tree30d4a2d345a71d4de360c79ba933c9a1c3b43feb /OpenSim/Region/Environment/Scenes/InnerScene.cs
parent* Fixed compile issue. (diff)
downloadopensim-SC_OLD-be7ae3dd3ecddc46390f40c0315ff84703c32e7a.zip
opensim-SC_OLD-be7ae3dd3ecddc46390f40c0315ff84703c32e7a.tar.gz
opensim-SC_OLD-be7ae3dd3ecddc46390f40c0315ff84703c32e7a.tar.bz2
opensim-SC_OLD-be7ae3dd3ecddc46390f40c0315ff84703c32e7a.tar.xz
* Removed 12 compiler warnings.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index bdcd840..cceaa14 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -292,7 +292,6 @@ namespace OpenSim.Region.Environment.Scenes
292 public EntityIntersection GetClosestIntersectingPrim(Ray hray) 292 public EntityIntersection GetClosestIntersectingPrim(Ray hray)
293 { 293 {
294 // Primitive Ray Tracing 294 // Primitive Ray Tracing
295 bool gothit = false;
296 float closestDistance = 280f; 295 float closestDistance = 280f;
297 EntityIntersection returnResult = new EntityIntersection(); 296 EntityIntersection returnResult = new EntityIntersection();
298 foreach (EntityBase ent in Entities.Values) 297 foreach (EntityBase ent in Entities.Values)
@@ -305,7 +304,6 @@ namespace OpenSim.Region.Environment.Scenes
305 { 304 {
306 if (result.distance < closestDistance) 305 if (result.distance < closestDistance)
307 { 306 {
308 gothit = true;
309 closestDistance = result.distance; 307 closestDistance = result.distance;
310 returnResult = result; 308 returnResult = result;
311 } 309 }