noch ein nachtrag
This commit is contained in:
Enno Rehling 2005-12-19 18:27:07 +00:00
parent 520a485b16
commit df94b39f8c
1 changed files with 1 additions and 1 deletions

View File

@ -1599,7 +1599,7 @@ parse_terrains(xmlDocPtr doc)
terrain->production[k].divisor = strdup((const char *)property); terrain->production[k].divisor = strdup((const char *)property);
xmlFree(property); xmlFree(property);
terrain->production[k].chance = (float)xml_fvalue(node, "chance", 1.0); terrain->production[k].chance = (float)xml_fvalue(nodeProd, "chance", 1.0);
} }
} }
xmlXPathFreeObject(xpathChildren); xmlXPathFreeObject(xpathChildren);