diff options
author | SmallJoker <mk939@ymail.com> | 2016-09-06 19:13:52 +0200 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2016-09-08 03:37:03 -0400 |
commit | 2de8c22a9971153d594b2bb4736eb293753f1212 (patch) | |
tree | 65427e44febaa2211107991c2ce006f6fe3ffcfb /src/itemdef.h | |
parent | aa33166386f737f213f1f3005ffd6a6adfd2d97f (diff) | |
download | minetest-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.h | 2 |
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 |