From 1264069b412822cd50a080576460d5dd8c165017 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 3 Apr 2017 17:29:02 +0100 Subject: fix typo --- OpenSim/Region/Framework/Scenes/Scene.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3b9f551..0fb62a4 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2990,8 +2990,9 @@ namespace OpenSim.Region.Framework.Scenes return false; int yy = (int)pos.Y; - if (yy < 0 || yy >= RegionInfo.RegionSizeX) + if (yy < 0 || yy >= RegionInfo.RegionSizeY) return false; + return true; } -- cgit v1.1