summaryrefslogtreecommitdiffstats
path: root/src/ItemGrid.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-22 15:33:43 +0100
committermadmaxoft <github@xoft.cz>2013-12-22 15:45:45 +0100
commitdfa81829fecf4e3bcc3316ebd69deb7d2c205332 (patch)
tree0ebf3d26039780c997a42b2e2f185fcfa17de76a /src/ItemGrid.h
parentMerge pull request #462 from mc-server/1.7_Fishing (diff)
downloadcuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.tar
cuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.tar.gz
cuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.tar.bz2
cuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.tar.lz
cuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.tar.xz
cuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.tar.zst
cuberite-dfa81829fecf4e3bcc3316ebd69deb7d2c205332.zip
Diffstat (limited to 'src/ItemGrid.h')
-rw-r--r--src/ItemGrid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ItemGrid.h b/src/ItemGrid.h
index a4af523cf..b344e3daf 100644
--- a/src/ItemGrid.h
+++ b/src/ItemGrid.h
@@ -157,7 +157,7 @@ public:
A total of a_NumSlots are taken by the loot.
Cannot export to Lua due to raw array a_LootProbabs. TODO: Make this exportable / export through ManualBindings.cpp with a Lua table as LootProbabs
*/
- void GenerateRandomLootWithBooks(const cLootProbab * a_LootProbabs, int a_CountLootProbabs, int a_NumSlots, int a_Seed);
+ void GenerateRandomLootWithBooks(const cLootProbab * a_LootProbabs, size_t a_CountLootProbabs, int a_NumSlots, int a_Seed);
/// Adds a callback that gets called whenever a slot changes. Must not be called from within the listener callback!
void AddListener(cListener & a_Listener);