forked from github/server
production-chance ist falsch.
This commit is contained in:
parent
5c07121a9f
commit
520a485b16
|
@ -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", 0);
|
terrain->production[k].chance = (float)xml_fvalue(node, "chance", 1.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xmlXPathFreeObject(xpathChildren);
|
xmlXPathFreeObject(xpathChildren);
|
||||||
|
|
Loading…
Reference in New Issue