summaryrefslogtreecommitdiff
path: root/VegetationConfiguration.cpp
diff options
context:
space:
mode:
authorJapa2011-02-21 14:16:41 +0000
committerJapa2011-02-21 14:16:41 +0000
commitd348ea510a87afa7f211d678e13ba9f92e9e35c9 (patch)
tree7354ed6c68369d8d4334ace246c7bfc8b04ed7f7 /VegetationConfiguration.cpp
parentf1cd36716229dd3f0795824197b14dcd0d979540 (diff)
downloadstonesense-d348ea510a87afa7f211d678e13ba9f92e9e35c9.tar.gz
stonesense-d348ea510a87afa7f211d678e13ba9f92e9e35c9.tar.bz2
stonesense-d348ea510a87afa7f211d678e13ba9f92e9e35c9.tar.xz
Got buildings and plants working.
Diffstat (limited to 'VegetationConfiguration.cpp')
-rw-r--r--VegetationConfiguration.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/VegetationConfiguration.cpp b/VegetationConfiguration.cpp
index cbec0d9..fb507c4 100644
--- a/VegetationConfiguration.cpp
+++ b/VegetationConfiguration.cpp
@@ -74,5 +74,6 @@ c_block_tree * getVegetationTree(vector<VegetationConfiguration>& vegetationConf
return &(current->tree);
}
static c_block_tree* tree = new c_block_tree;
+ tree->set_sheetindex(-1);
return tree;
} \ No newline at end of file