From dfbec673a4ca24ab683ea403361efa4372cc1e0d Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 28 Nov 2008 20:11:17 +0000 Subject: * simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly --- OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs index 1bb6cae..0d7919d 100644 --- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs +++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs @@ -85,7 +85,8 @@ namespace OpenSim.Region.Examples.SimpleModule for (int i = 0; i < 1; i++) { MyNpcCharacter m_character = new MyNpcCharacter(m_scene); - m_scene.AddNewClient(m_character, false); + m_scene.AddNewClient(m_character); + m_scene.AgentCrossing(m_character.AgentId, Vector3.Zero, false); } List avatars = m_scene.GetAvatars(); -- cgit v1.1