summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Enchantments.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Enchantments.cpp b/src/Enchantments.cpp
index 3cddf37ae..10d23a8fb 100644
--- a/src/Enchantments.cpp
+++ b/src/Enchantments.cpp
@@ -1030,7 +1030,7 @@ cEnchantments cEnchantments::GenerateEnchantmentFromVector(cWeightedEnchantments
}
cNoise Noise(a_Seed);
- int RandomNumber = Noise.IntNoise1DInt(AllWeights) % AllWeights;
+ int RandomNumber = Noise.IntNoise1DInt(AllWeights) / 7 % AllWeights;
for (cWeightedEnchantments::iterator it = a_Enchantments.begin(); it != a_Enchantments.end(); ++it)
{