1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Make getStackMax return the correct maximal stack size

This commit is contained in:
SmallJoker 2016-09-06 19:13:52 +02:00 committed by kwolekr
parent aa33166386
commit 2de8c22a99
3 changed files with 5 additions and 7 deletions

View file

@ -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