diff options
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index a28a617..17fc58c 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Framework | |||
54 | /// </summary> | 54 | /// </summary> |
55 | public class Util | 55 | public class Util |
56 | { | 56 | { |
57 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 57 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
58 | 58 | ||
59 | private static uint nextXferID = 5000; | 59 | private static uint nextXferID = 5000; |
60 | private static Random randomClass = new Random(); | 60 | private static Random randomClass = new Random(); |
@@ -136,7 +136,7 @@ namespace OpenSim.Framework | |||
136 | float dx = a.X - b.X; | 136 | float dx = a.X - b.X; |
137 | float dy = a.Y - b.Y; | 137 | float dy = a.Y - b.Y; |
138 | float dz = a.Z - b.Z; | 138 | float dz = a.Z - b.Z; |
139 | return (dx*dx + dy*dy + dz*dz) < (amount*amount); | 139 | return (dx*dx + dy*dy + dz*dz) < (amount*amount); |
140 | } | 140 | } |
141 | 141 | ||
142 | /// <summary> | 142 | /// <summary> |
@@ -975,7 +975,7 @@ namespace OpenSim.Framework | |||
975 | else | 975 | else |
976 | { | 976 | { |
977 | os = ReadEtcIssue(); | 977 | os = ReadEtcIssue(); |
978 | } | 978 | } |
979 | 979 | ||
980 | if (os.Length > 45) | 980 | if (os.Length > 45) |
981 | { | 981 | { |