diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 7b97080..6c1e835 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -550,7 +550,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
550 | LLVector3 pos2 = this.Pos; | 550 | LLVector3 pos2 = this.Pos; |
551 | LLVector3 vel = this.Velocity; | 551 | LLVector3 vel = this.Velocity; |
552 | 552 | ||
553 | float timeStep = 0.2f; | 553 | float timeStep = 0.1f; |
554 | pos2.X = pos2.X + (vel.X * timeStep); | 554 | pos2.X = pos2.X + (vel.X * timeStep); |
555 | pos2.Y = pos2.Y + (vel.Y * timeStep); | 555 | pos2.Y = pos2.Y + (vel.Y * timeStep); |
556 | pos2.Z = pos2.Z + (vel.Z * timeStep); | 556 | pos2.Z = pos2.Z + (vel.Z * timeStep); |
@@ -576,25 +576,25 @@ namespace OpenSim.Region.Environment.Scenes | |||
576 | uint neighbourx = this.m_regionInfo.RegionLocX; | 576 | uint neighbourx = this.m_regionInfo.RegionLocX; |
577 | uint neighboury = this.m_regionInfo.RegionLocY; | 577 | uint neighboury = this.m_regionInfo.RegionLocY; |
578 | 578 | ||
579 | if (pos.X < 3) | 579 | if (pos.X < 1) |
580 | { | 580 | { |
581 | neighbourx -= 1; | 581 | neighbourx -= 1; |
582 | newpos.X = 254; | 582 | newpos.X = 255.9F; |
583 | } | 583 | } |
584 | if (pos.X > 252) | 584 | if (pos.X > 255) |
585 | { | 585 | { |
586 | neighbourx += 1; | 586 | neighbourx += 1; |
587 | newpos.X = 1; | 587 | newpos.X = 0.1F; |
588 | } | 588 | } |
589 | if (pos.Y < 3) | 589 | if (pos.Y < 1) |
590 | { | 590 | { |
591 | neighboury -= 1; | 591 | neighboury -= 1; |
592 | newpos.Y = 254; | 592 | newpos.Y = 255.9F; |
593 | } | 593 | } |
594 | if (pos.Y > 252) | 594 | if (pos.Y > 255) |
595 | { | 595 | { |
596 | neighboury += 1; | 596 | neighboury += 1; |
597 | newpos.Y = 1; | 597 | newpos.Y = 0.1F; |
598 | } | 598 | } |
599 | 599 | ||
600 | LLVector3 vel = this.m_velocity; | 600 | LLVector3 vel = this.m_velocity; |