From 5bf6b245908e15dd3a5a47ec6b2f4602f321ebc5 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 22 Oct 2007 09:04:55 +0000 Subject: Bug fix, so that local loginserver (in standalone mode) can set a start position (position inside the region) rather than it always being hardcoded to 128,128. Note: This bug fix is just to allow this to be set. Its not actually used yet (so users will still always start at 128,128). --- OpenSim/Region/Communications/Local/LocalLoginService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Communications/Local/LocalLoginService.cs') diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index 9c10d04..37461c0 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs @@ -137,7 +137,8 @@ namespace OpenSim.Region.Communications.Local _login.Agent = response.AgentID; _login.Session = response.SessionID; _login.SecureSession = response.SecureSessionID; - _login.CircuitCode = (uint)response.CircuitCode; + _login.CircuitCode = (uint)response.CircuitCode; + _login.StartPos = new LLVector3(128, 128, 70); _login.CapsPath = capsPath; if( OnLoginToRegion != null ) -- cgit v1.1