forked from github/server
noch ein nachtrag
This commit is contained in:
parent
520a485b16
commit
df94b39f8c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue