From cf61cdf58cf5a0f0fa67f1e6078d5cbed0f036c9 Mon Sep 17 00:00:00 2001 From: Roger Kirkman Date: Wed, 5 Feb 2014 13:31:01 +0000 Subject: Fix - Viewer crash during HG Teleport Signed-off-by: Robert Adams --- OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs index d0a0b17..20397a1 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs @@ -244,13 +244,13 @@ namespace OpenSim.Services.Connectors.Hypergrid } if (hash["size_x"] != null) { - Int32.TryParse((string)hash["x"], out n); + Int32.TryParse((string)hash["size_x"], out n); region.RegionSizeX = n; //m_log.Debug(">> HERE, x: " + region.RegionLocX); } if (hash["size_y"] != null) { - Int32.TryParse((string)hash["y"], out n); + Int32.TryParse((string)hash["size_y"], out n); region.RegionSizeY = n; //m_log.Debug(">> HERE, y: " + region.RegionLocY); } -- cgit v1.1