Explorar o código

fix trees were not generated

Kolja Strohm hai 9 meses
pai
achega
9d9649e100
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      FactoryCraft/TreeTemplate.cpp

+ 1 - 0
FactoryCraft/TreeTemplate.cpp

@@ -98,6 +98,7 @@ void TreeTemplate::setMinHeight(int height)
 void TreeTemplate::setMaxHeight(int height)
 {
     maxHeight = height;
+    setMaxSize(Framework::Vec3<int>(5, 5, maxHeight));
 }
 
 int TreeTemplate::getMinHeight() const