summaryrefslogtreecommitdiff
path: root/VegetationConfiguration.cpp
diff options
context:
space:
mode:
authorKris Parker2009-12-19 07:31:41 +0000
committerKris Parker2009-12-19 07:31:41 +0000
commit23cef744bb4482dbc02875492083aa2850b1f0cc (patch)
tree5419b37555140aac10254317a3b62682da43cf7c /VegetationConfiguration.cpp
parent954733a0793e3094e1753577f037dcd596b4cdee (diff)
downloadstonesense-23cef744bb4482dbc02875492083aa2850b1f0cc.tar.gz
stonesense-23cef744bb4482dbc02875492083aa2850b1f0cc.tar.bz2
stonesense-23cef744bb4482dbc02875492083aa2850b1f0cc.tar.xz
Bug in tree type tweaks
Diffstat (limited to 'VegetationConfiguration.cpp')
-rw-r--r--VegetationConfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/VegetationConfiguration.cpp b/VegetationConfiguration.cpp
index 98ff911..5da27ac 100644
--- a/VegetationConfiguration.cpp
+++ b/VegetationConfiguration.cpp
@@ -47,7 +47,7 @@ bool addSingleVegetationConfig( TiXmlElement* elemRoot, vector<VegetationConfig
int gameID = INVALID_INDEX;
if (idstr && idstr[0])
{
- lookupIndexedType(idstr,plantNames);
+ gameID = lookupIndexedType(idstr,plantNames);
if (gameID == INVALID_INDEX)
{
contentError("No matching plant type",elemTree);