Fix - Viewer crash during HG Teleport

Signed-off-by: Robert Adams <misterblue@misterblue.com>
0.8.0.3
Roger Kirkman 2014-02-05 13:31:01 +00:00 committed by Robert Adams
parent 1913ab5ad5
commit cf61cdf58c
1 changed files with 2 additions and 2 deletions

View File

@ -244,13 +244,13 @@ namespace OpenSim.Services.Connectors.Hypergrid
} }
if (hash["size_x"] != null) if (hash["size_x"] != null)
{ {
Int32.TryParse((string)hash["x"], out n); Int32.TryParse((string)hash["size_x"], out n);
region.RegionSizeX = n; region.RegionSizeX = n;
//m_log.Debug(">> HERE, x: " + region.RegionLocX); //m_log.Debug(">> HERE, x: " + region.RegionLocX);
} }
if (hash["size_y"] != null) if (hash["size_y"] != null)
{ {
Int32.TryParse((string)hash["y"], out n); Int32.TryParse((string)hash["size_y"], out n);
region.RegionSizeY = n; region.RegionSizeY = n;
//m_log.Debug(">> HERE, y: " + region.RegionLocY); //m_log.Debug(">> HERE, y: " + region.RegionLocY);
} }