summaryrefslogtreecommitdiffstats
path: root/src/Enchantments.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-10-15 14:08:45 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-10-15 14:08:45 +0200
commite3aa6e48577f3247653e94a76b68a4626a630c65 (patch)
tree2efec4c43cab7bff0173ad68ef0ab4400addf6dd /src/Enchantments.h
parentcWorld: Fixed scheduler. (diff)
downloadcuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar
cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.gz
cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.bz2
cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.lz
cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.xz
cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.zst
cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.zip
Diffstat (limited to 'src/Enchantments.h')
-rw-r--r--src/Enchantments.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h
index 824f6aa55..798d3bf61 100644
--- a/src/Enchantments.h
+++ b/src/Enchantments.h
@@ -126,7 +126,7 @@ public:
static void CheckEnchantmentConflictsFromVector(cWeightedEnchantments & a_Enchantments, cEnchantments a_FirstEnchantment);
/** Gets random enchantment from Vector and returns it */
- static cEnchantments GetRandomEnchantmentFromVector(cWeightedEnchantments & a_Enchantments);
+ static cEnchantments GetRandomEnchantmentFromVector(cWeightedEnchantments & a_Enchantments, int a_Seed = -1);
/** Returns true if a_Other doesn't contain exactly the same enchantments and levels */
bool operator !=(const cEnchantments & a_Other) const;