diff options
author | Dr Scofield | 2009-06-25 07:39:48 +0000 |
---|---|---|
committer | Dr Scofield | 2009-06-25 07:39:48 +0000 |
commit | 652bcf91d50898181638a2668c9e2dcacfa33005 (patch) | |
tree | c1bdb97e6ef633d9b7605acbaa7eab6afd404f48 /OpenSim/Region/CoreModules/Avatar/Chat | |
parent | Allow "Take Copy" with copy only permissions if you own the object. Trans (diff) | |
download | opensim-SC_OLD-652bcf91d50898181638a2668c9e2dcacfa33005.zip opensim-SC_OLD-652bcf91d50898181638a2668c9e2dcacfa33005.tar.gz opensim-SC_OLD-652bcf91d50898181638a2668c9e2dcacfa33005.tar.bz2 opensim-SC_OLD-652bcf91d50898181638a2668c9e2dcacfa33005.tar.xz |
- fixes a "collection out of sync" exception in the ODE physics
engine, caused by an "avatar infinite position" occurring under
heavy load.
- fixes "value too small" exception in ChatModule
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Chat')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index 2814e92..dba6b38 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -294,8 +294,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
294 | new Vector3(presence.Scene.RegionInfo.RegionLocX * Constants.RegionSize, | 294 | new Vector3(presence.Scene.RegionInfo.RegionLocX * Constants.RegionSize, |
295 | presence.Scene.RegionInfo.RegionLocY * Constants.RegionSize, 0); | 295 | presence.Scene.RegionInfo.RegionLocY * Constants.RegionSize, 0); |
296 | 296 | ||
297 | int dis = Math.Abs((int) Util.GetDistanceTo(toRegionPos, fromRegionPos)); | 297 | int dis = (int)Util.GetDistanceTo(toRegionPos, fromRegionPos); |
298 | 298 | ||
299 | if (type == ChatTypeEnum.Whisper && dis > m_whisperdistance || | 299 | if (type == ChatTypeEnum.Whisper && dis > m_whisperdistance || |
300 | type == ChatTypeEnum.Say && dis > m_saydistance || | 300 | type == ChatTypeEnum.Say && dis > m_saydistance || |
301 | type == ChatTypeEnum.Shout && dis > m_shoutdistance) | 301 | type == ChatTypeEnum.Shout && dis > m_shoutdistance) |