summaryrefslogtreecommitdiff
path: root/src/itemdef.h
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2016-09-06 19:13:52 +0200
committerkwolekr <kwolekr@minetest.net>2016-09-08 03:37:03 -0400
commit2de8c22a9971153d594b2bb4736eb293753f1212 (patch)
tree65427e44febaa2211107991c2ce006f6fe3ffcfb /src/itemdef.h
parentaa33166386f737f213f1f3005ffd6a6adfd2d97f (diff)
downloadminetest-2de8c22a9971153d594b2bb4736eb293753f1212.tar.gz
minetest-2de8c22a9971153d594b2bb4736eb293753f1212.tar.bz2
minetest-2de8c22a9971153d594b2bb4736eb293753f1212.zip
Make getStackMax return the correct maximal stack size
Diffstat (limited to 'src/itemdef.h')
-rw-r--r--src/itemdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itemdef.h b/src/itemdef.h
index b14ed41f7..dcb98e8a9 100644
--- a/src/itemdef.h
+++ b/src/itemdef.h
@@ -61,7 +61,7 @@ struct ItemDefinition
/*
Item stack and interaction properties
*/
- s16 stack_max;
+ u16 stack_max;
bool usable;
bool liquids_pointable;
// May be NULL. If non-NULL, deleted by destructor