aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJeff Ames2007-11-18 15:14:37 +0000
committerJeff Ames2007-11-18 15:14:37 +0000
commit924026d01c1dd25218e9a4296eb27640091405f3 (patch)
tree7d9e8fcb28b0ce6090cc42c4754d5673bb2853c2 /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parentfirst stab at implementation of CopyInventoryItem (diff)
downloadopensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.zip
opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.tar.gz
opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.tar.bz2
opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.tar.xz
cleaned up some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index b6daad6..38523e0 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -439,7 +439,6 @@ namespace OpenSim.Region.Environment.Scenes
439 /// </summary> 439 /// </summary>
440 public void StopMovement() 440 public void StopMovement()
441 { 441 {
442 int x = 0;
443 } 442 }
444 443
445 public void AddNeighbourRegion(ulong regionHandle) 444 public void AddNeighbourRegion(ulong regionHandle)
@@ -624,8 +623,6 @@ namespace OpenSim.Region.Environment.Scenes
624 { 623 {
625 pos = part.AbsolutePosition + offset; 624 pos = part.AbsolutePosition + offset;
626 625
627 double dist = AbsolutePosition.GetDistanceTo(pos);
628
629 if (m_physicsActor != null) 626 if (m_physicsActor != null)
630 { 627 {
631 m_sitAvatarHeight = m_physicsActor.Size.Z; 628 m_sitAvatarHeight = m_physicsActor.Size.Z;
@@ -633,7 +630,7 @@ namespace OpenSim.Region.Environment.Scenes
633 630
634// this doesn't seem to quite work yet.... 631// this doesn't seem to quite work yet....
635// // if we're close, set the avatar position to the target position and forgo autopilot 632// // if we're close, set the avatar position to the target position and forgo autopilot
636// if (dist < 2.5) 633// if (AbsolutePosition.GetDistanceTo(pos) < 2.5)
637// { 634// {
638// autopilot = false; 635// autopilot = false;
639// AbsolutePosition = pos + new LLVector3(0.0f, 0.0f, m_sitAvatarHeight); 636// AbsolutePosition = pos + new LLVector3(0.0f, 0.0f, m_sitAvatarHeight);