aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/WearableItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/WearableItem.cs')
-rw-r--r--OpenSim/Framework/WearableItem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WearableItem.cs b/OpenSim/Framework/WearableItem.cs
index 414b135..7a4b4de 100644
--- a/OpenSim/Framework/WearableItem.cs
+++ b/OpenSim/Framework/WearableItem.cs
@@ -132,7 +132,7 @@ namespace OpenSim.Framework
132 //int randNum = Util.RandomClass.Next(0, 1000); 132 //int randNum = Util.RandomClass.Next(0, 1000);
133 float range = setting.VisualParam.MaxValue - setting.VisualParam.MinValue; 133 float range = setting.VisualParam.MaxValue - setting.VisualParam.MinValue;
134 // float val =((float) randNum )/ ((float)(1000.0f / range)); 134 // float val =((float) randNum )/ ((float)(1000.0f / range));
135 float val = (float)OpenSim.Framework.Util.RandomClass.NextDouble() * range * 0.2f; 135 float val = (float)Util.RandomClass.NextDouble() * range * 0.2f;
136 setting.Value = setting.VisualParam.MinValue + (range / 2) + val; 136 setting.Value = setting.VisualParam.MinValue + (range / 2) + val;
137 } 137 }
138 } 138 }