From 1a3a1e6665909f1d0f3b25f70f0a08c60dc4ab16 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 11 Jan 2012 19:00:17 +0100 Subject: Adapt a cast to using the new TeleportFlags --- .../Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 843ea36..80cb623 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -204,7 +204,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer sp.ControllingClient.SendTeleportStart(teleportFlags); sp.ControllingClient.SendLocalTeleport(position, lookAt, teleportFlags); - sp.TeleportFlags = (TeleportFlags)teleportFlags; + sp.TeleportFlags = (Constants.TeleportFlags)teleportFlags; sp.Teleport(position); foreach (SceneObjectGroup grp in sp.GetAttachments()) -- cgit v1.1