mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Mantis 1456 same region teleport of a sitting avatar.
Region to region was fixed some time ago in EntityTransferModule. This applies the same fix for same region teleports.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
ef279c5a62
commit
c21c9e13ef
@@ -996,6 +996,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void TeleportWithMomentum(Vector3 pos, Vector3? v)
|
||||
{
|
||||
if (ParentID != (uint)0)
|
||||
StandUp();
|
||||
bool isFlying = Flying;
|
||||
Vector3 vel = Velocity;
|
||||
RemoveFromPhysicalScene();
|
||||
|
||||
Reference in New Issue
Block a user