diff options
| author | Petr Mrázek | 2012-01-27 05:52:06 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-01-27 05:52:06 +0100 |
| commit | 66115070844f3bc1ae3f9142e43f7c110aa18159 (patch) | |
| tree | 661a3c27bcdc105ea890e117dfb1f3790e5a0c0c /ColorConfiguration.cpp | |
| parent | 92627e39cb3502812cd5a131716d3d1da8ef625a (diff) | |
| download | stonesense-66115070844f3bc1ae3f9142e43f7c110aa18159.tar.gz stonesense-66115070844f3bc1ae3f9142e43f7c110aa18159.tar.bz2 stonesense-66115070844f3bc1ae3f9142e43f7c110aa18159.tar.xz | |
Major stonesense fixage.
Diffstat (limited to 'ColorConfiguration.cpp')
| -rw-r--r-- | ColorConfiguration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ColorConfiguration.cpp b/ColorConfiguration.cpp index ce6caa0..76e707a 100644 --- a/ColorConfiguration.cpp +++ b/ColorConfiguration.cpp @@ -84,11 +84,11 @@ void parseColorElement( TiXmlElement* elemColor, vector<ColorConfiguration> & co for ( ;elemSubtype; elemSubtype = elemSubtype ->NextSiblingElement("subtype"))
{
// get subtype
- int subtypeId = lookupMaterialIndex(elemIndex,elemSubtype->Attribute("value"));
+ int subtypeId = lookupMaterialIndex( elemIndex,elemSubtype->Attribute("value"));
if (subtypeId == INVALID_INDEX)
{
contentError("Invalid or missing value attribute",elemSubtype);
- continue;
+ continue;
}
// add the configurations
|
