From b3a778d81bf2c3545fedb891807f2f8645591a9e Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 4 Jan 2019 17:18:57 -0500 Subject: [PATCH] Now utilizing growing_plant.should_id --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5ededb7..1eadfae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -829,19 +829,19 @@ int main(int argc, char** argv) if (place_id == id_wheat_0) { - the_world->growing_plants.push_back(growing_plant(px, py, pz, growing_wheat, 30)); + the_world->growing_plants.push_back(growing_plant(px, py, pz, id_wheat_0, growing_wheat, growth_8())); } else if (place_id == id_carrots_0) { - the_world->growing_plants.push_back(growing_plant(px, py, pz, growing_carrots, 60)); + the_world->growing_plants.push_back(growing_plant(px, py, pz, id_carrots_0, growing_carrots, growth_4())); } else if (place_id == id_potatoes_0) { - the_world->growing_plants.push_back(growing_plant(px, py, pz, growing_potatoes, 60)); + the_world->growing_plants.push_back(growing_plant(px, py, pz, id_potatoes_0, growing_potatoes, growth_4())); } else if (place_id == id_beetroots_0) { - the_world->growing_plants.push_back(growing_plant(px, py, pz, growing_beetroots, 60)); + the_world->growing_plants.push_back(growing_plant(px, py, pz, id_beetroots_0, growing_beetroots, growth_4())); } } }