Adapt some TeleportWithMomentum calls

This commit is contained in:
Melanie
2012-04-25 18:36:29 +01:00
parent 916e372382
commit 88c9fdfa3a
2 changed files with 2 additions and 2 deletions

View File

@@ -6115,7 +6115,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (m_host.OwnerID == land.LandData.OwnerID)
{
Vector3 pos = World.GetNearestAllowedPosition(presence, land);
presence.TeleportWithMomentum(pos);
presence.TeleportWithMomentum(pos, null);
presence.ControllingClient.SendAlertMessage("You have been ejected from this land");
}
}