From 36bcda6cfaec008d51cc47838912aa49a889c18c Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 29 May 2007 17:10:31 +0000 Subject: --- OpenSim/OpenSim.World/Avatar.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'OpenSim/OpenSim.World/Avatar.cs') diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs index 77c18bf..2469860 100644 --- a/OpenSim/OpenSim.World/Avatar.cs +++ b/OpenSim/OpenSim.World/Avatar.cs @@ -37,15 +37,16 @@ namespace OpenSim.world private ushort m_regionWaterHeight; private bool m_regionTerraform; private bool childAvatar = false; + private RegionInfo regionData; - public Avatar(IClientAPI TheClient, World world, string regionName, Dictionary clientThreads, ulong regionHandle, bool regionTerraform, ushort regionWater) + public Avatar(IClientAPI TheClient, World world, Dictionary clientThreads, RegionInfo regionDat) { m_world = world; // m_clientThreads = clientThreads; - m_regionName = regionName; - m_regionHandle = regionHandle; - m_regionTerraform = regionTerraform; - m_regionWaterHeight = regionWater; + m_regionName = regionData.RegionName; + m_regionHandle = regionData.RegionHandle; + m_regionTerraform = regionData.RegionTerraform; + m_regionWaterHeight = regionData.RegionWaterHeight; OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)"); ControllingClient = TheClient; -- cgit v1.1