diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/LoginResponse.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/LoginResponse.cs b/OpenSim/Framework/Communications/LoginResponse.cs index 9036884..00b691e 100644 --- a/OpenSim/Framework/Communications/LoginResponse.cs +++ b/OpenSim/Framework/Communications/LoginResponse.cs | |||
@@ -152,7 +152,7 @@ namespace OpenSim.Framework.UserManagement | |||
152 | ErrorReason = "key"; | 152 | ErrorReason = "key"; |
153 | welcomeMessage = "Welcome to OpenSim!"; | 153 | welcomeMessage = "Welcome to OpenSim!"; |
154 | seedCapability = String.Empty; | 154 | seedCapability = String.Empty; |
155 | home = "{'region_handle':[r" + (1000*256).ToString() + ",r" + (1000*256).ToString() + "], 'position':[r" + | 155 | home = "{'region_handle':[r" + (1000*Constants.RegionSize).ToString() + ",r" + (1000*Constants.RegionSize).ToString() + "], 'position':[r" + |
156 | userProfile.homepos.X.ToString() + ",r" + userProfile.homepos.Y.ToString() + ",r" + | 156 | userProfile.homepos.X.ToString() + ",r" + userProfile.homepos.Y.ToString() + ",r" + |
157 | userProfile.homepos.Z.ToString() + "], 'look_at':[r" + userProfile.homelookat.X.ToString() + ",r" + | 157 | userProfile.homepos.Z.ToString() + "], 'look_at':[r" + userProfile.homelookat.X.ToString() + ",r" + |
158 | userProfile.homelookat.Y.ToString() + ",r" + userProfile.homelookat.Z.ToString() + "]}"; | 158 | userProfile.homelookat.Y.ToString() + ",r" + userProfile.homelookat.Z.ToString() + "]}"; |
@@ -347,8 +347,8 @@ namespace OpenSim.Framework.UserManagement | |||
347 | responseData["home"] = home; | 347 | responseData["home"] = home; |
348 | responseData["look_at"] = lookAt; | 348 | responseData["look_at"] = lookAt; |
349 | responseData["message"] = welcomeMessage; | 349 | responseData["message"] = welcomeMessage; |
350 | responseData["region_x"] = (Int32) RegionX*256; | 350 | responseData["region_x"] = (Int32)RegionX * Constants.RegionSize; |
351 | responseData["region_y"] = (Int32) RegionY*256; | 351 | responseData["region_y"] = (Int32)RegionY * Constants.RegionSize; |
352 | 352 | ||
353 | //responseData["inventory-lib-root"] = new ArrayList(); // todo | 353 | //responseData["inventory-lib-root"] = new ArrayList(); // todo |
354 | 354 | ||
@@ -447,8 +447,8 @@ namespace OpenSim.Framework.UserManagement | |||
447 | map["home"] = LLSD.FromString(home); | 447 | map["home"] = LLSD.FromString(home); |
448 | map["look_at"] = LLSD.FromString(lookAt); | 448 | map["look_at"] = LLSD.FromString(lookAt); |
449 | map["message"] = LLSD.FromString(welcomeMessage); | 449 | map["message"] = LLSD.FromString(welcomeMessage); |
450 | map["region_x"] = LLSD.FromInteger(RegionX * 256); | 450 | map["region_x"] = LLSD.FromInteger(RegionX * Constants.RegionSize); |
451 | map["region_y"] = LLSD.FromInteger(RegionY * 256); | 451 | map["region_y"] = LLSD.FromInteger(RegionY * Constants.RegionSize); |
452 | 452 | ||
453 | if (m_buddyList != null) | 453 | if (m_buddyList != null) |
454 | { | 454 | { |