Implemented growing_plant.should_id

This commit is contained in:
CobaltXII
2019-01-04 17:18:40 -05:00
parent 8f3ac90892
commit f8664b00e5

View File

@@ -29,12 +29,17 @@ enum growing_plant_type
struct growing_plant
{
// The position of the growing plant.
// The position of this growing_plant.
unsigned int x;
unsigned int y;
unsigned int z;
// The block that this growing_plant should be. If it is not, that means
// that something else modified it and it should not grow anymore.
block_id should_id;
// The growing_plant_type of this growing_plant.
growing_plant_type type;
@@ -57,6 +62,8 @@ struct growing_plant
unsigned int _y,
unsigned int _z,
block_id _should_id,
growing_plant_type _type,
unsigned int _timer
@@ -66,6 +73,8 @@ struct growing_plant
y = _y;
z = _z;
should_id = _should_id;
type = _type;
timer = _timer;