From 3d938f76b7c2f8ede862f9979383d79dfb21372c Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 7 Dec 2007 08:54:31 +0000 Subject: Updates to LibSL revision 1498. Thanks Johan! --- OpenSim/Region/Environment/Modules/ChatModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/ChatModule.cs') diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs index c93804f..8af7b49 100644 --- a/OpenSim/Region/Environment/Modules/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/ChatModule.cs @@ -192,7 +192,7 @@ namespace OpenSim.Region.Environment.Modules scene.RegionInfo.RegionLocY * 256, 0); dis = - Math.Abs((int)avatarRegionPos.GetDistanceTo(fromRegionPos)); + Math.Abs((int) Util.GetDistanceTo(avatarRegionPos, fromRegionPos)); switch (e.Type) { -- cgit v1.1