From f9e5ea59745edfae9ac537e7bf38ee5aa422de29 Mon Sep 17 00:00:00 2001 From: proller Date: Sun, 22 Oct 2023 20:06:51 +0200 Subject: [PATCH] fix --- src/content_abm_grow_tree.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/content_abm_grow_tree.cpp b/src/content_abm_grow_tree.cpp index 17895f9f5..2d707b393 100644 --- a/src/content_abm_grow_tree.cpp +++ b/src/content_abm_grow_tree.cpp @@ -739,16 +739,13 @@ S S S S S S S S S SSS SSS SSS SSS SSS //&&((nbh[D_BOTTOM].water_level >= params.tree_get_water_from_humidity / 2) || // params.tree_water_max //(nbh[D_SELF].water_level >= params.tree_get_water_from_humidity / 2)) ) { - nbh[D_BOTTOM].water_level, nbh[D_SELF].water_level, - nbh[D_TOP].water_level); fill_top(true); fill_bottom(); } else { fill_bottom(true); fill_top(); } - nbh[D_BOTTOM].water_level, nbh[D_SELF].water_level, - nbh[D_TOP].water_level); + self_water_level = total_level; }