From df94b39f8cb25da6726949abb696f2b33c59d9b6 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 19 Dec 2005 18:27:07 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=775 noch ein nachtrag --- src/common/kernel/xmlreader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/xmlreader.c b/src/common/kernel/xmlreader.c index c0ff9f42a..6bb5809e7 100644 --- a/src/common/kernel/xmlreader.c +++ b/src/common/kernel/xmlreader.c @@ -1599,7 +1599,7 @@ parse_terrains(xmlDocPtr doc) terrain->production[k].divisor = strdup((const char *)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);